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.to...@oracle.com <sip:dalibor.to...@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

Reply via email to