[lworld] RFR: 8296950: [lworld] AccessFlags should be specific to class file version [v3]

Mandy Chung mchung at openjdk.org
Fri Feb 3 17:20:28 UTC 2023


On Thu, 2 Feb 2023 22:32:11 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Add java.lang.reflect.AccessFlag.maskToAccessFlags(mask, location, cffv) 
>> that requests the flags for a specific class file version number.
>> Update Class.accessFlags() to request the flags for the specific class file format version of the class file.
>> Update class file format version tests to match.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Ignore unspecified access flag

I'm referring to a test that compiles a `.class` with an older class file version and the return access flags from `Class::accessFlags` includes `SUPER`.

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

PR: https://git.openjdk.org/valhalla/pull/808



More information about the valhalla-dev mailing list