aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
diff options
context:
space:
mode:
authorsla <none@none>2013-05-07 14:04:26 +0200
committersla <none@none>2013-05-07 14:04:26 +0200
commit6a6a73a0c108feab8d62a732963985cc24cc9e34 (patch)
tree479f41fb191d174ebc0f1b5bba30380b84c39fc0 /src/share/vm/prims/jvmtiClassFileReconstituter.cpp
parent2002df9794a680dc3902400b548356c846d066c7 (diff)
8014044: Spelling error in JDK-8009615: boostrapmethod
Reviewed-by: sspitsyn, coleenp
Diffstat (limited to 'src/share/vm/prims/jvmtiClassFileReconstituter.cpp')
-rw-r--r--src/share/vm/prims/jvmtiClassFileReconstituter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
index 291057016..c931e3f8e 100644
--- a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
+++ b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
@@ -350,13 +350,13 @@ void JvmtiClassFileReconstituter::write_annotations_attribute(const char* attr_n
// 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 @@ void JvmtiClassFileReconstituter::write_class_attributes() {
write_annotations_attribute("RuntimeVisibleAnnotations", anno);
}
if (cpool()->operands() != NULL) {
- write_boostrapmethod_attribute();
+ write_bootstrapmethod_attribute();
}
}