Plans to remove -source & -target option 7 in javac?

Remi Forax forax at univ-mlv.fr
Wed Aug 4 14:41:04 UTC 2021


To complement what Joe said,
this is the discussion where we have decided to remove -source/-target 6 in Java 12
https://mail.openjdk.java.net/pipermail/jdk-dev/2018-May/001190.html

So as Kartik suggests, removing the support of -source/-target 7 for Java 18 seems the logical consequence.

Rémi

----- Original Message -----
> From: "joe darcy" <joe.darcy at oracle.com>
> To: "jdk-dev" <jdk-dev at openjdk.java.net>
> Sent: Mercredi 4 Août 2021 16:09:58
> Subject: Re: Plans to remove -source & -target option 7 in javac?

> Hello Kartik,
> 
> Updating JEP 182: "Policy for Retiring javac -source and -target
> Options" (http://openjdk.java.net/jeps/182) for the six-month release
> process is a known item to be done. That updated policy would in turn
> guide when -source/-target 7 and now also --release 7 would be dropped.
> 
> Cheers,
> 
> -Joe
> 
> On 8/4/2021 4:26 AM, Kartik Ohri wrote:
>> Hi all!
>>
>> JDK-8173605 <https://bugs.openjdk.java.net/browse/JDK-8173605> has not been
>> updated for some time. Hence, out of curiosity, I ask if there are
>> currently any plans to remove the -source & -target 7 options in javac in
>> JDK 18?
>>
>> Regards,
> > Kartik


More information about the jdk-dev mailing list