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

Harold Seigel hseigel at openjdk.java.net
Fri Jul 30 17:27:45 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

This pull request has now been integrated.

Changeset: ecca7a00
Author:    Harold Seigel <hseigel at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/ecca7a000cc9aa7a18f512b00d2d371f8f944de7
Stats:     8 lines in 1 file changed: 5 ins; 0 del; 3 mod

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

Reviewed-by: fparain

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

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



More information about the valhalla-dev mailing list