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

Mandy Chung mchung at openjdk.org
Mon Feb 6 20:08:18 UTC 2023


On Mon, 6 Feb 2023 16:33:39 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:
> 
>   Add specific test for AccessFlag.SUPER in versions before value class enhancement

Marked as reviewed by mchung (Committer).

test/jdk/java/lang/reflect/AccessFlag/SuperAccessFlagTest.java line 32:

> 30:  */
> 31: 
> 32: // Note: cannot use --release 20 because the accessFlags() method is

can use `@comment` after `@compile` line

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

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



More information about the valhalla-dev mailing list