RFR: 8297271: AccessFlag.maskToAccessFlags should be specific to class file version [v7]
Roger Riggs
rriggs at openjdk.org
Thu May 1 12:58:51 UTC 2025
On Wed, 30 Apr 2025 22:12:20 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Take the class file version to reject flags not yet defined, redefined, or obsoleted. This is useful for clients like javap to report the correct undefined flags for different class file versions.
>>
>> A preparatory patch for javap to pass around the ClassFileFormatVersion to parse flags is available at #24955.
>
> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 31 commits:
>
> - Merge branch 'master' of https://github.com/openjdk/jdk into feature/af-cffv-parse
> - review: improve comments about implicit null checks
> - Merge branch 'fix/javap-cffv-access-flags' into feature/af-cffv-parse
> - Adapt the location APIs
> - Merge branch 'master' of https://github.com/openjdk/jdk into fix/javap-cffv-access-flags
> - 8355956: Prepare javap for class file format aware access flag parsing
> - Merge branch 'feature/af-location-accessors' into feature/af-cffv-parse
> - Explicit imports
> - Wording updates
> - Merge branch 'feature/af-location-accessors' into feature/af-cffv-parse
> - ... and 21 more: https://git.openjdk.org/jdk/compare/e36756b2...b1cf4ebb
Marked as reviewed by rriggs (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24760#pullrequestreview-2809740302
More information about the core-libs-dev
mailing list