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

Harold Seigel hseigel at openjdk.org
Thu Aug 4 12:51:33 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:

  change test to display minor_verion:major_version

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

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

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

  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 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