Tue, 07 May 2013 14:04:26 +0200
8014044: Spelling error in JDK-8009615: boostrapmethod
Reviewed-by: sspitsyn, coleenp
src/share/vm/prims/jvmtiClassFileReconstituter.cpp | file | annotate | diff | comparison | revisions | |
src/share/vm/prims/jvmtiClassFileReconstituter.hpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Tue May 07 01:25:21 2013 +0200 1.2 +++ b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Tue May 07 14:04:26 2013 +0200 1.3 @@ -350,13 +350,13 @@ 1.4 // u2 bootstrap_arguments[num_bootstrap_arguments]; 1.5 // } bootstrap_methods[num_bootstrap_methods]; 1.6 // } 1.7 -void JvmtiClassFileReconstituter::write_boostrapmethod_attribute() { 1.8 +void JvmtiClassFileReconstituter::write_bootstrapmethod_attribute() { 1.9 Array<u2>* operands = cpool()->operands(); 1.10 write_attribute_name_index("BootstrapMethods"); 1.11 int num_bootstrap_methods = ConstantPool::operand_array_length(operands); 1.12 1.13 // calculate length of attribute 1.14 - int length = sizeof(u2); // num_boostrap_methods 1.15 + int length = sizeof(u2); // num_bootstrap_methods 1.16 for (int n = 0; n < num_bootstrap_methods; n++) { 1.17 u2 num_bootstrap_arguments = cpool()->operand_argument_count_at(n); 1.18 length += sizeof(u2); // bootstrap_method_ref 1.19 @@ -657,7 +657,7 @@ 1.20 write_annotations_attribute("RuntimeVisibleAnnotations", anno); 1.21 } 1.22 if (cpool()->operands() != NULL) { 1.23 - write_boostrapmethod_attribute(); 1.24 + write_bootstrapmethod_attribute(); 1.25 } 1.26 } 1.27
2.1 --- a/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Tue May 07 01:25:21 2013 +0200 2.2 +++ b/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Tue May 07 14:04:26 2013 +0200 2.3 @@ -127,7 +127,7 @@ 2.4 void write_signature_attribute(u2 generic_signaure_index); 2.5 void write_attribute_name_index(const char* name); 2.6 void write_annotations_attribute(const char* attr_name, AnnotationArray* annos); 2.7 - void write_boostrapmethod_attribute(); 2.8 + void write_bootstrapmethod_attribute(); 2.9 2.10 address writeable_address(size_t size); 2.11 void write_u1(u1 x);