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

Roger Riggs rriggs at openjdk.org
Thu Feb 2 22:34:20 UTC 2023


On Tue, 20 Dec 2022 21:27:04 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Update to include text describing access flags as may depend on class file version.
>  - Merge branch 'lworld' into 8296950-access-flags-cffv
>  - 8296950: [lworld] AccessFlags should be specific to class file version.
>    Add java.lang.reflect.AccessFlag.maskToAccessFlags that requests the flags
>    for a specific class file version number.

Please review support for value class access flags of IDENTITY and VALUE and new method to return class file format version specific flags.

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

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



More information about the valhalla-dev mailing list