RFR(XS) 8135265: VM fails on 'empty' interface public <init>()V method with VerifyError

harold seigel harold.seigel at oracle.com
Thu Sep 17 14:22:47 UTC 2015


Hi,

Please review this small change to fix bug 8135265.  The fix removes the 
requirement that methods named <init> must call super() or this(), in 
cases where the <init> methods are in interfaces. This is because 
methods named <init> in interfaces are not constructors.

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

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

The fix was tested with JCK Lang and VM tests, the UTE quick and split 
verifier tests, and the hotspot, and JDK vm, java/io, java/lang, and 
java/util JTreg tests, and the test case 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