[lworld] RFR: 8271536: [lworld] VerifyError in hotspot/jtreg/runtime/classFileParserBug/NameAndTypeSig.java
Harold Seigel
hseigel at openjdk.java.net
Fri Jul 30 17:20:56 UTC 2021
Please review this fix for JDK-8271536. The fix throws a ClassFormatError exception for methods named <init> if they have a non-void function return type that is a basic primitive type, such as D or I regardless of the setting of EnableValhalla.. Note that additional changes may be needed in the future depending on how method <init> and possibly <new> are defined in future JVM Specs.
The fix was tested by running the JCK lang and VM tests and Mach5 tiers 1 and 2 on Linux, Mac OS, and Windows.
Thanks, Harold
-------------
Commit messages:
- 8271536: [lworld] VerifyError in hotspot/jtreg/runtime/classFileParserBug/NameAndTypeSig.java
Changes: https://git.openjdk.java.net/valhalla/pull/514/files
Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=514&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8271536
Stats: 8 lines in 1 file changed: 5 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/valhalla/pull/514.diff
Fetch: git fetch https://git.openjdk.java.net/valhalla pull/514/head:pull/514
PR: https://git.openjdk.java.net/valhalla/pull/514
More information about the valhalla-dev
mailing list