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

javac --release 11 not supported

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13
    • Verification:
      Verified

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: