@@ -391,14 +391,14 @@ void JvmtiClassFileReconstituter::write_annotations_attribute(const char* attr_n
391
391
void JvmtiClassFileReconstituter::write_bootstrapmethod_attribute () {
392
392
write_attribute_name_index (" BootstrapMethods" );
393
393
394
- const auto bsm_offs = cpool ()->bsm_attribute_offsets ();
395
- const auto bsm_data = cpool ()->bsm_attribute_entries ();
394
+ const Array<u4>* bsm_offs = cpool ()->bsm_attribute_offsets ();
395
+ const Array<u2>* bsm_data = cpool ()->bsm_attribute_entries ();
396
396
int num_bootstrap_methods = bsm_offs->length ();
397
397
398
398
// calculate length of attribute
399
399
u4 length = sizeof (u2); // num_bootstrap_methods
400
400
for (int n = 0 ; n < num_bootstrap_methods; n++) {
401
- auto bsme = cpool ()->bsm_attribute_entry (n);
401
+ BSMAttributeEntry* bsme = cpool ()->bsm_attribute_entry (n);
402
402
u2 num_bootstrap_arguments = bsme->argument_count ();
403
403
length += sizeof (u2); // bootstrap_method_ref
404
404
length += sizeof (u2); // num_bootstrap_arguments
@@ -409,7 +409,7 @@ void JvmtiClassFileReconstituter::write_bootstrapmethod_attribute() {
409
409
// write attribute
410
410
write_u2 (checked_cast<u2>(num_bootstrap_methods));
411
411
for (int n = 0 ; n < num_bootstrap_methods; n++) {
412
- auto bsme = cpool ()->bsm_attribute_entry (n);
412
+ BSMAttributeEntry* bsme = cpool ()->bsm_attribute_entry (n);
413
413
u2 num_bootstrap_arguments = bsme->argument_count ();
414
414
write_u2 (bsme->bootstrap_method_index ());
415
415
write_u2 (num_bootstrap_arguments);
0 commit comments