RFR(S) 8139069: JVM should throw ClassFormatError for methods in interfaces (original) (raw)

harold seigel harold.seigel at oracle.com
Mon Oct 12 15:59:37 UTC 2015


Hi,

Please review this small change to fix bug 8139069.

Recent proposed JVM-9 Spec changes (JDK-8122940 <https://bugs.openjdk.java.net/browse/JDK-8122940>) require throwing ClassFormatError exceptions if an interface contains a method named . This fix implements that change. It undoes the change for JDK-8135265 <https://bugs.openjdk.java.net/browse/JDK-8135265>.

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

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

The fix was tested with JCK Lang, VM, and API java_lang tests, the UTE quick and split verifier tests, and the hotspot, JDK vm, java/io, java/lang, and java/util JTreg tests, and the tests included in this RFR.

Thanks, Harold



More information about the hotspot-runtime-dev mailing list