# HG changeset patch # User sla # Date 1367928266 -7200 # Node ID 83ac929d332a63c5d683d5362ae4a20db20fa3d0 # Parent eb7a22d26c532690f00a5bb8d6938bb47606fb68 8014044: Spelling error in JDK-8009615: boostrapmethod Reviewed-by: sspitsyn, coleenp diff -r eb7a22d26c53 -r 83ac929d332a hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp --- a/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Tue May 07 01:25:21 2013 +0200 +++ b/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Tue May 07 14:04:26 2013 +0200 @@ -350,13 +350,13 @@ // u2 bootstrap_arguments[num_bootstrap_arguments]; // } bootstrap_methods[num_bootstrap_methods]; // } -void JvmtiClassFileReconstituter::write_boostrapmethod_attribute() { +void JvmtiClassFileReconstituter::write_bootstrapmethod_attribute() { Array* operands = cpool()->operands(); write_attribute_name_index("BootstrapMethods"); int num_bootstrap_methods = ConstantPool::operand_array_length(operands); // calculate length of attribute - int length = sizeof(u2); // num_boostrap_methods + int length = sizeof(u2); // num_bootstrap_methods for (int n = 0; n < num_bootstrap_methods; n++) { u2 num_bootstrap_arguments = cpool()->operand_argument_count_at(n); length += sizeof(u2); // bootstrap_method_ref @@ -657,7 +657,7 @@ write_annotations_attribute("RuntimeVisibleAnnotations", anno); } if (cpool()->operands() != NULL) { - write_boostrapmethod_attribute(); + write_bootstrapmethod_attribute(); } } diff -r eb7a22d26c53 -r 83ac929d332a hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.hpp --- a/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Tue May 07 01:25:21 2013 +0200 +++ b/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Tue May 07 14:04:26 2013 +0200 @@ -127,7 +127,7 @@ void write_signature_attribute(u2 generic_signaure_index); void write_attribute_name_index(const char* name); void write_annotations_attribute(const char* attr_name, AnnotationArray* annos); - void write_boostrapmethod_attribute(); + void write_bootstrapmethod_attribute(); address writeable_address(size_t size); void write_u1(u1 x);