Java Source Launcher shouldn't require --source when --enable-preview is used

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • 12
    • Affects Version/s: 12
    • Component/s: tools

      Currently, the Java Source Launcher is requiring --source when using --enable-preview, which isn't necessary since the invocation of the specified class is tied of a specific runtime version.

      The Java Source Launcher should pass -source N (where N is the version of the underlying java runtime) to the compilation phase, when --enable-preview is specified without --source on the launcher command line.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Michel Trudeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: