On Fri, 5 May 2023 17:35:33 GMT, Vicente Romero <vrom...@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