Lowering minimum runtime requirement to Java 11
Dalibor Topic
dalibor.topic at oracle.com
Fri Feb 12 00:36:54 UTC 2021
On 09.02.2021 21:03, Attila Szegedi wrote:
> There’s one minor point to consider: should it be compiled with Java 15 compiler, but targeting 11, or should it simply be compiled with Java 11 compiler? Is there any advantage in using javac from 15 targeting 11?
I think it's usually better to set the javac --release flag to 11 in
order to keep your options open to use the latest JDK release during
development, than to limit yourself to building the code with the lowest
supported release.
cheers,
dalibor topic
--
<http://www.oracle.com> Dalibor Topic
Consulting Product Manager
Phone: +494089091214 <tel:+494089091214>, Mobile: +491737185961
<tel:+491737185961>, Video: dalibor.topic at oracle.com
<sip:dalibor.topic at oracle.com>
Oracle Global Services Germany GmbH
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRB 246209
Geschäftsführer: Ralf Herrmann
More information about the nashorn-dev
mailing list