hg: jdk9/hs-rt/hotspot: 2 new changesets

harold.seigel at oracle.com harold.seigel at oracle.com
Tue Nov 10 19:34:04 UTC 2015


Changeset: e296444235b5
Author:    hseigel
Date:      2015-11-10 08:42 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/e296444235b5

8139164: JVM should throw ClassFormatError for non-void methods named <clinit>
Summary: If method being parsed is named <clinit>, throw ClassFormatError if it is not void or has arguments, for class file version >= 51.
Reviewed-by: acorn, lfoltan

! src/share/vm/classfile/classFileParser.cpp
! src/share/vm/classfile/verifier.cpp
! test/runtime/classFileParserBug/BadInitMethod.java
+ test/runtime/classFileParserBug/clinitArg.jasm
+ test/runtime/classFileParserBug/clinitArg51.jasm
+ test/runtime/classFileParserBug/clinitNonStatic.jasm
- test/runtime/classFileParserBug/ignoredClinit.jasm
+ test/runtime/classFileParserBug/nonvoidClinit.jasm

Changeset: 5945d49fca35
Author:    hseigel
Date:      2015-11-10 17:15 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/5945d49fca35

Merge

- test/runtime/classFileParserBug/ignoredClinit.jasm



More information about the jdk9-hs-rt-changes mailing list