src/share/vm/prims/jvmtiClassFileReconstituter.cpp

changeset 5060
b5fef8013a95
parent 5058
187154b7a226
child 6198
55fb97c4c58d
     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  

mercurial