RFR: JDK-8315458 Implementation of Implicitly Declared Classes and Instance Main Method (Second Preview) [v2]

Jim Laskey jlaskey at openjdk.org
Thu Nov 2 17:49:18 UTC 2023


On Thu, 2 Nov 2023 17:21:02 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> No. It should be left at the first preview level.
>
> `UNNAMED_CLASSES` should probably be removed, as I think it is fully replaced with `IMPLICIT_CLASSES`, and I don't think there are bootstrap problems here (unlike in `jdk.internal.java.PreviewFeature`). I would say it would make sense to set the version to `JDK22`, although the difference is very small given the feature is a preview and requires `-source 22` anyway. (Although we keep the `@since` value for the duration of preview.)

Changing

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16461#discussion_r1380574753


More information about the compiler-dev mailing list