-
Type:
Enhancement
-
Resolution: Won't Fix
-
Priority:
P3
-
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.
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.