RFR: 8342679: Cleanup PreviewFeature.Feature

Chen Liang liach at openjdk.org
Mon Oct 21 12:11:19 UTC 2024


On Mon, 21 Oct 2024 11:23:05 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> After doing a build + bootcycle build confirms that these constants can be removed.

src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java line 67:

> 65:      */
> 66:     public enum Feature {
> 67:         // not used, but required for interim javac to not warn.

Maybe we should update this comment to note their removal depends on the boot JDK version?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21605#discussion_r1808669294


More information about the compiler-dev mailing list