Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365699

Remove jdk.internal.javac.PreviewFeature.Feature enum values for features finalized in Java 24 or earlier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • tools
    • None

      (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.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: