RFR 8200261: Regression with JVM anonymous class

harold seigel harold.seigel at oracle.com
Wed Apr 4 17:29:00 UTC 2018


Please review this JDK-11 fix for JDK-8200261.  When the JVM default 
method processing creates an expanded constant pool, to add overpass 
methods, for an anonymous class, it needs to ensure that the (eagerly) 
resolved anonymous class get copied into the new constant pool's klasses 
array.  Otherwise, the anonymous class will be unable to find its own 
fields and methods.  This is only needed for anonymous classes because 
other classes get resolved after default method processing.

Open Webrev: 

JBS Bug:  https://bugs.openjdk.java.net/browse/JDK-8200261

This fix was tested with Mach5 tiers 1 and 2 tests and builds on all 
Mach5 platforms, with tiers 3-5 tests on Linux-x64, with JCK-10 Lang and 
VM tests, and with additional JDK JTReg tests.

Thanks, Harold

More information about the hotspot-runtime-dev mailing list