RFR(S) 8139069: JVM should throw ClassFormatError for <init> methods in interfaces

Karen Kinnear karen.kinnear at oracle.com
Mon Oct 12 16:07:58 UTC 2015


Harold,

Looks good. Thanks for the tests.

Is there a reason this didn’t go to the openjdk alias for review?

thanks,
Karen

> On Oct 12, 2015, at 11:59 AM, harold seigel <harold.seigel at oracle.com> wrote:
> 
> 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 <init>.  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