Mercurial > hg > graal-jvmci-8
diff src/share/vm/prims/jvmtiClassFileReconstituter.cpp @ 10228:b5fef8013a95
8014044: Spelling error in JDK-8009615: boostrapmethod
Reviewed-by: sspitsyn, coleenp
author | sla |
---|---|
date | Tue, 07 May 2013 14:04:26 +0200 |
parents | 187154b7a226 |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp Tue May 07 01:25:21 2013 +0200 +++ b/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<u2>* 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(); } }