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

Harold Seigel hseigel at openjdk.java.net
Fri Oct 23 20:34:41 UTC 2020


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

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

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

Changes: https://git.openjdk.java.net/jdk/pull/845/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=845&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255342
  Stats: 42 lines in 6 files changed: 0 ins; 22 del; 20 mod
  Patch: https://git.openjdk.java.net/jdk/pull/845.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/845/head:pull/845

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


More information about the hotspot-runtime-dev mailing list