javac --release 11 not supported

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 11
    • Affects Version/s: 11
    • Component/s: 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

            Assignee:
            Jan Lahoda
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: