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

Harold Seigel hseigel at openjdk.java.net
Mon Oct 26 15:20:25 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

Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:

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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/845/files
  - new: https://git.openjdk.java.net/jdk/pull/845/files/6f0e2d23..1379e87f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=845&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=845&range=00-01

  Stats: 336 lines in 3 files changed: 332 ins; 0 del; 4 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