Hi Remi,

On 7/13/2018 11:31 AM, Remi Forax wrote:
There is a weird bug with javac of jdk 12.

/usr/jdk/jdk-12/bin/javac --release 11
error: release version 11 not supported
Usage: javac <options> <source files>
use --help for a list of possible options

while javac --release 10 or javac --release 12 works ?

That is an expected but temporary situation given the way --release is implemented at present. Once JDK 11 ships, the exact API changes be be encoding so that --release will pick them up.

HTH,

-Joe

Reply via email to