Integrated: 8255342: Remove non-specified JVM checks on Classes with Record attributes

Harold Seigel hseigel at openjdk.java.net
Tue Oct 27 12:30:25 UTC 2020


On Fri, 23 Oct 2020 20:30:23 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this fix to remove the checks for non-final and abstract classes containing Record attributes and checks for classes containing Record attributes whose supers are not java.lang.Record.  These checks are not specified in the JVM Spec and so should not be done by the JVM.
> 
> The change removes the checks and updates Record tests as needed.
> 
> The fix was tested with mach5 tiers 1 and 2 on Linux, Windows, and Mac, and tiers 3-5 on Linux x64 and with JCK lang, vm, and api/java_lang tests.
> 
> Thanks, Harold

This pull request has now been integrated.

Changeset: 18d9905c
Author:    Harold Seigel <hseigel at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/18d9905c
Stats:     375 lines in 6 files changed: 332 ins; 22 del; 21 mod

8255342: Remove non-specified JVM checks on Classes with Record attributes

Reviewed-by: dholmes, coleenp

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

PR: https://git.openjdk.java.net/jdk/pull/845


More information about the hotspot-runtime-dev mailing list