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

--release => "unknown enum constant PreviewFeature$Feature.TEXT_BLOCKS"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 15
    • 15
    • tools
    • b30
    • Verified

    Backports

      Description

        Compiling "Hello World" with javac 15 with --release 14 gives

        $ $jdk15/bin/javac --release 14 Main.java
        warning: unknown enum constant PreviewFeature$Feature.TEXT_BLOCKS
          reason: class file for jdk.internal.PreviewFeature$Feature not found
        warning: unknown enum constant PreviewFeature$Feature.TEXT_BLOCKS
        warning: unknown enum constant PreviewFeature$Feature.TEXT_BLOCKS
        warning: unknown enum constant PreviewFeature$Feature.RECORDS

        Attachments

          Issue Links

            Activity

              People

                jlahoda Jan Lahoda
                martin Martin Buchholz
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: