hg: valhalla/valhalla: 8205998: [lworld] Verifier should reject value type classes if -XX:+EnableValhalla is not set
harold.seigel at oracle.com
harold.seigel at oracle.com
Thu Jun 28 15:31:15 UTC 2018
Changeset: 7f4697fd100d
Author: hseigel
Date: 2018-06-28 11:30 -0400
URL: http://hg.openjdk.java.net/valhalla/valhalla/rev/7f4697fd100d
8205998: [lworld] Verifier should reject value type classes if -XX:+EnableValhalla is not set
Summary: Add check for this to classFileParser and throw ClassFormatError if need be.
Reviewed-by: acorn
! src/hotspot/share/classfile/classFileParser.cpp
+ test/hotspot/jtreg/runtime/valhalla/valuetypes/classfileparser/BadACCValue.java
! test/hotspot/jtreg/runtime/valhalla/valuetypes/classfileparser/BadValueTypes.java
! test/hotspot/jtreg/runtime/valhalla/valuetypes/verifier/VerifierValueTypes.java
! test/jdk/valhalla/valuetypes/Reflection.java
! test/jdk/valhalla/valuetypes/ValueBootstrapMethods.java
! test/langtools/tools/javac/valhalla/lworld-values/CastNullCheckTest.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckDefaultFlattenable.java
! test/langtools/tools/javac/valhalla/lworld-values/ValueBootstrapMethodsTest.java
! test/langtools/tools/javac/valhalla/lworld-values/ValuesAsRefs.java
! test/langtools/tools/javac/valhalla/lworld-values/WithFieldRuntimeTest.java
More information about the valhalla-dev
mailing list