RFR: JDK-8309568 javac crashes attempting to -Xprint on a class file of an unnamed class
Jan Lahoda
jlahoda at openjdk.org
Wed Jun 7 10:16:57 UTC 2023
On Tue, 6 Jun 2023 22:14:57 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
> Test development for [JDK-8309503](https://bugs.openjdk.org/browse/JDK-8309503) found that javac crashed attempting to -Xprint on a class file of an unnamed class. The test for ClassReader detecting of unnamed class was forcing completion of the owner class. The new code uses a flags only test.
>
> Related test is with https://bugs.openjdk.org/browse/JDK-8309503 .
Looks reasonable.
-------------
Marked as reviewed by jlahoda (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14344#pullrequestreview-1467246484
More information about the compiler-dev
mailing list