JDK 12 RFR of JDK-8207247: Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests

Vicente Romero vicente.romero at oracle.com
Tue Jul 17 01:23:27 UTC 2018


looks good,
Vicente

On 07/13/2018 12:43 PM, joe darcy wrote:
> Hello,
>
> Please review the changes to address
>
>     JDK-8207247: Reduce incidence of 
> compiler.warn.source.no.bootclasspath in javac tests
>     http://cr.openjdk.java.net/~darcy/8207248.0/
>
> While working on the changes to prepare for removal of 
> -source/-target/--release 6, some of the test edits that were need 
> were to suppress extraneous warnings about -source/-target 7 being 
> obsolete. To avoid a similar round of extraneous changes when 
> -source/-targer 7 is removed and 8 becomes obsolete, this patch 
> includes -Xlint:-options to remove the options-related warnings. The 
> set of removed warnings includes the identified bootclasspath warning 
> and will also cover future "-source/-target 8 is obsolete" warnings.
>
> Thanks,
>
> -Joe
>



More information about the compiler-dev mailing list