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

Roger Riggs rriggs at openjdk.org
Mon Nov 14 21:19:22 UTC 2022


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.

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

Commit messages:
 - 8296950: [lworld] AccessFlags should be specific to class file version.

Changes: https://git.openjdk.org/valhalla/pull/808/files
 Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=808&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8296950
  Stats: 112 lines in 8 files changed: 95 ins; 1 del; 16 mod
  Patch: https://git.openjdk.org/valhalla/pull/808.diff
  Fetch: git fetch https://git.openjdk.org/valhalla pull/808/head:pull/808

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



More information about the valhalla-dev mailing list