RFR: JDK-8315458 Implementation of Implicitly Declared Classes and Instance Main Method (Second Preview) [v4]
Jim Laskey
jlaskey at openjdk.org
Thu Nov 2 17:49:12 UTC 2023
On Thu, 2 Nov 2023 17:30:40 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Missed that. The issue is that Implicit Classes don't have any API and don't show up in the preview page. Fixed.
>
> Regarding removal of `UNNAMED_CLASSES` here, there was an API annotated using this constant in `j.l.Class` (`isUnnamedClass()`). I suspect it unfortunately means we need to keep the enum constant as long as this method exists in the bootstrap JDK, i.e. until the bootstrap is switches to JDK 22.
Correct
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16461#discussion_r1380578763
More information about the compiler-dev
mailing list