JDK 12 RFR of JDK-8206439: Remove javac -source/-target 6 from langtools regression tests

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Jul 6 14:22:23 UTC 2018


Looks good - I found this new line I'm dubious about

+ * @compile/ref=gold_unsp_warn.out -XDrawDiagnostics -processor 
TestSourceVersionWarnings -proc:only -ASourceVersion=RELEASE_6 -source 6 
-Xlint:-options -Aunsupported HelloWorld.java


(this is in 
test/langtools/tools/javac/processing/warnings/TestSourceVersionWarnings.java)

Are you sure that the -source 6 is deliberate here?

Maurizio

On 06/07/18 03:19, joe darcy wrote:
> Hello,
>
> Laying some groundwork for the future removal of javac's 
> -source/-target 6 later in JDK 12, please review this initial pass to 
> remove most usages of -source/-target 6/1.6 from the lantools 
> regression tests:
>
>     http://cr.openjdk.java.net/~darcy/8206439.0/
>
> A number of 6-specific foo.out files are removed. Various other *.out 
> files are adjusted to accommodate removal of a @compile line 
> containing -source or -target 6.
>
> Thanks,
>
> -Joe
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180706/2bc0aa7d/attachment.html>


More information about the compiler-dev mailing list