RFR: JDK-8306112 Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview) [v9]
Rémi Forax
forax at openjdk.org
Fri May 5 17:50:21 UTC 2023
On Fri, 5 May 2023 17:35:33 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> `Flags.MANDATED` on a class is currently enough to know if it's a unnamed class or not, but it's not enough for classes not produced by javac.
>
> good point
Just to be clear, here, Flags.UNNAMED_CLASS is needed because an an unnamed class must have a main(), which is tested later.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13689#discussion_r1186357338
More information about the build-dev
mailing list