RFR: 8291360: Create entry points to expose low-level class file information [v2]

Harold Seigel hseigel at openjdk.org
Mon Aug 1 18:51:10 UTC 2022


> Please review this change to fix JDK-8291360.  This fix adds entry points getClassFileVersion() and getClassAccessFlagsRaw() to class java.lang.Class.  The new entry points return the current class's class file version and its raw access flags.
> 
> The fix was tested by running Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and Mach5 tiers 1-3 on Linux x64.  Additionally, the JCK lang, vm, and api tests and new regression tests were run locally on Linux x64.
> 
> Thanks, Harold

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

  Improved tests, added mulit-dimensional array tests, simplified new java.lang.Class API's

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9688/files
  - new: https://git.openjdk.org/jdk/pull/9688/files/2f5d1468..82890e56

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9688&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9688&range=00-01

  Stats: 55 lines in 5 files changed: 27 ins; 10 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/9688.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9688/head:pull/9688

PR: https://git.openjdk.org/jdk/pull/9688



More information about the build-dev mailing list