(This was brought up in a discussion in a recent PR https://github.com/openjdk/jdk/pull/26776#issuecomment-3190566237 )
In the current mainline JDK, the enum values of jdk.internal.javac.PreviewFeature.Feature are expected to correspond to features that are in preview in JDK version(s) equal or higher than the boot JDK version.
Current boot JDK version of mainline is Java 24. Any enum values for features that have been finalized and delivered in Java 24 thus should no longer be retained in jdk.internal.javac.PreviewFeature.Feature enum.
In the current mainline JDK, the enum values of jdk.internal.javac.PreviewFeature.Feature are expected to correspond to features that are in preview in JDK version(s) equal or higher than the boot JDK version.
Current boot JDK version of mainline is Java 24. Any enum values for features that have been finalized and delivered in Java 24 thus should no longer be retained in jdk.internal.javac.PreviewFeature.Feature enum.
- relates to
-
JDK-8342984 Bump minimum boot jdk to JDK 24
-
- Resolved
-