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

Harold Seigel hseigel at openjdk.org
Tue Aug 2 14:12:44 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:

  add test case, minor renames

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

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

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

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