7194607: VerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge
Use verifier_max_size instead of max_size to get code attribute max stack size. Reviewed-by: dcubed, minqi
This commit is contained in:
parent
772e0e748d
commit
80cc4706a6
@ -228,7 +228,7 @@ void JvmtiClassFileReconstituter::write_code_attribute(methodHandle method) {
|
||||
|
||||
write_attribute_name_index("Code");
|
||||
write_u4(size);
|
||||
write_u2(method->max_stack());
|
||||
write_u2(method->verifier_max_stack());
|
||||
write_u2(method->max_locals());
|
||||
write_u4(code_size);
|
||||
copy_bytecodes(method, (unsigned char*)writeable_address(code_size));
|
||||
|
Loading…
x
Reference in New Issue
Block a user