JDK 12: RC feedback
Alan.Bateman at oracle.com
Tue Feb 19 19:55:00 UTC 2019
On 19/02/2019 19:35, Andrew Guibert wrote:
> Thanks for the clarification on source/target vs. release.
> Regarding the supported options, I am using the macOS/x64 build in case that helps.
> $ bin/javac --version
> javac 12
> $ bin/java --version
> openjdk 12 2019-03-19
> OpenJDK Runtime Environment (build 12+32)
> OpenJDK 64-Bit Server VM (build 12+32, mixed mode, sharing)
> Looks like you have confirmed things are correct on Linux, so it may just be an
> issue on the Mac builds.
I checked the macOS build on jdk.java.net/12 and the javac -help output
Compile for a specific release. Supported releases: 7, 8, 9,
10, 11, 12
--source <release>, -source <release>
Provide source compatibility with specified release. Supported
releases: 7, 8, 9, 10, 11, 12
--target <release>, -target <release>
Generate class files for specific VM version. Supported
versions: 7, 8, 9, 10, 11, 12
The `java -version` output is slightly different to your output so maybe
you have something else.
More information about the jdk-dev