RFR: 8008453: JvmtiClassFileReconstituter does not recognize default methods

Staffan Larsen staffan.larsen at oracle.com
Thu May 2 01:51:05 PDT 2013


JvmtiClassFileReconstituter does not recognize some methods as generated default methods when re-creating a class for retransformation. The new default methods are handled by generating overpass methods inside the JVM, when reconstituting a class, these methods should be skipped as they aren't part of the original class.

webrev: http://cr.openjdk.java.net/~sla/8008453/webrev.00/
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8008453 (not available yet)

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 hotspot-runtime-dev mailing list