Bug in javac release flag?
Stephen Colebourne
scolebourne at joda.org
Mon Jan 22 17:24:36 UTC 2018
On 22 January 2018 at 16:33, Jan Lahoda <jan.lahoda at oracle.com> wrote:
> I tried to compile the project using maven, and in debug output, I was able
> to find "--release 9", but not "--release 8", only "-target 1.8 -source
> 1.8". This will produce JDK 8 classfiles, but compile against the JDK 9
> system modules. To get the new --release behavior, "--release <VERSION>"
> must be used.
Thanks for looking. Why oh why is Maven implemented incorrectly....
thanks
Stephen
More information about the compiler-dev
mailing list