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

Harold Seigel hseigel at openjdk.org
Mon Aug 1 18:57:19 UTC 2022


On Mon, 1 Aug 2022 18:51:10 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

>> 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

Thanks Brian, Roger, and David for looking at this.  I pushed a new commit to address the review comments, add mulit-dimensional array test cases, and simplify new java.lang.Class API's.

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

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



More information about the build-dev mailing list