On Fri, 18 Apr 2025 20:33:27 GMT, Chen Liang <li...@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. This pull request has now been integrated. Changeset: bee273d6 Author: Chen Liang <li...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/bee273d6b4e34692952d4e7474ab72ee5c54e33a Stats: 159 lines in 10 files changed: 99 ins; 23 del; 37 mod 8297271: AccessFlag.maskToAccessFlags should be specific to class file version Reviewed-by: rriggs ------------- PR: https://git.openjdk.org/jdk/pull/24760