[8u-dev] Request for approval: 8163969: Cyclic interface initialization causes JVM crash

Coleen Phillimore coleen.phillimore at oracle.com
Thu Oct 13 12:29:19 UTC 2016

This has been reviewed by sspitsyn and dholmes.   Now requesting 
approval for the backport.



Summary: Backport change to correct interface initialization.

There were too many changes to instanceKlass.cpp for a clean backport.  
Also in JDK8, this corrects interface initialization to not initialize 
the whole interface hierarchy if an interface, not class, initializes 
initialization.  This is to correctly follow JLS 12.4.2 step 7.   I 
filed a compatibility request (in review) to document the difference in 
behavior, which I believe will not be noticed.

Tested with JPRT, including runtime jtreg lambda-features tests, and JCK 

open webrev at http://cr.openjdk.java.net/~coleenp/8163969.8.01/webrev
bug link https://bugs.openjdk.java.net/browse/JDK-8163969.8

More information about the jdk8u-dev mailing list