RFR(XS) 8135208: VM permits illegal <clinit> access_flags, versions 51-52

harold seigel harold.seigel at oracle.com
Fri Sep 18 12:54:12 UTC 2015


Hi,

Please review this small change to fix bug 8135208.  The fix ensures 
that <clinit> methods that are not class initialization methods undergo 
the same method modifier checks as other normal methods.

Open webrev: http://cr.openjdk.java.net/~hseigel/bug_8135208/

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

The fix was tested with JCK Lang and VM tests, the UTE quick and split 
verifier tests, and the hotspot, JDK vm, java/io, java/lang, and 
java/util JTreg tests, and the test cases in the bug report.

This scenario will be tested by JCK-9.  So there's no regression test in 
this webrev.

Thanks, Harold


More information about the hotspot-runtime-dev mailing list