JDK 12: RC feedback

Joe Darcy joe.darcy at oracle.com
Tue Feb 19 21:30:20 UTC 2019


Also note that the JDK includes a regression tests that explicitly 
checks that retired source versions are not supported:

     test/langtools/tools/javac/versions/Versions.java

and the test has been passing on macos and all other platforms.

-Joe

On 2/19/2019 11:55 AM, Alan Bateman wrote:
> 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 includes:
>
>   --release <release>
>         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.
>
> -Alan


More information about the jdk-dev mailing list