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

javac --release 11 not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • tools
    • b13
    • Verified

      javac --release 11 is not (yet) supported.

      This prevents using --release in conjunction with --enable-preview, which indirectly blocks the source-code launcher work.

      $ ./build/linux-x86_64-normal-server-release/images/jdk/bin/javac --enable-preview -source 11 play/HelloWorld.java
      $ ./build/linux-x86_64-normal-server-release/images/jdk/bin/javac --enable-preview --release 11 play/HelloWorld.java
      error: release version 11 not supported
      Usage: javac <options> <source files>
      use --help for a list of possible options

            jlahoda Jan Lahoda
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: