RFR: 8297271: AccessFlag.maskToAccessFlags should be specific to class file version

Chen Liang liach at openjdk.org
Sat Apr 19 15:06:45 UTC 2025


On Fri, 18 Apr 2025 20:33:27 GMT, Chen Liang <liach at openjdk.org> wrote:

> Take the class file version to reject flags not yet defined, redefined, or obsoleted. The non-cffv version can return the preview flags when the current runtime is in preview.

That is tracked in a separate bug linked as a dependent on this issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/24760#issuecomment-2816742550


More information about the security-dev mailing list