[lworld] RFR: 8292883: [lworld] javac fails to detect class files with invalid access flags
Frederic Parain
fparain at openjdk.org
Mon Sep 19 14:26:16 UTC 2022
On Mon, 12 Sep 2022 19:21:11 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> javac is loading a forged class file which declares a primitive class which also has the `identity` flag set. This PR is fixing this bug by issuing an error in such cases.
>
> TIA
I cannot comment on the implementation of the fix, but as the reporter of the issue I can tell that the proposed fix correctly detects the invalid class in the provided use case.
-------------
PR: https://git.openjdk.org/valhalla/pull/754
More information about the valhalla-dev
mailing list