[lworld] RFR: 8271536: [lworld] VerifyError in hotspot/jtreg/runtime/classFileParserBug/NameAndTypeSig.java

Frederic Parain fparain at openjdk.java.net
Fri Jul 30 17:20:56 UTC 2021


On Fri, 30 Jul 2021 17:14:42 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> 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

Looks good to me.

Fred

-------------

Marked as reviewed by fparain (Committer).

PR: https://git.openjdk.java.net/valhalla/pull/514



More information about the valhalla-dev mailing list