RFR: 8009615: JvmtiClassFileReconstituter does not create BootstrapMethod attributes

Markus Grönlund markus.gronlund at oracle.com
Thu May 2 01:59:07 PDT 2013


Looks good Staffan (not a reviewer).

Cheers
Markus

-----Original Message-----
From: Staffan Larsen 
Sent: den 2 maj 2013 10:51
To: hotspot-runtime-dev at openjdk.java.net; serviceability-dev at openjdk.java.net serviceability-dev at openjdk.java.net
Subject: RFR: 8009615: JvmtiClassFileReconstituter does not create BootstrapMethod attributes

JvmtiClassFileReconstituter does not create BootstrapMethod attributes when re-creating a class for retransformation. This fix uses the operands in the constant pool to re-create the BootstrapMethod attributes in the class file.

webrev: http://cr.openjdk.java.net/~sla/8009615/webrev.00/
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8009615

Testing done: java/lang/instrument, com/sun/jdi, nsk.quick-jvmti.testlist

I have not written a regression test since this was found by running the existing java/lang/instrument/IsModifiableClassAgent.java test.

Thanks,
/Staffan


More information about the serviceability-dev mailing list