JDK 12 RFR of JDK-8193214: Incorrect annotations.without.processors warnings with JDK 9

joe darcy joe.darcy at oracle.com
Fri Jul 20 05:03:50 UTC 2018


Hello,

Please review the changes to address

     JDK-8193214: Incorrect annotations.without.processors warnings with 
JDK 9
     http://cr.openjdk.java.net/~darcy/8193214.0/

At some point during JDK 6 or earlier JDK 7, the platform annotations 
were filtered out of the annotations.without.processors warning issued 
under the -Xlint:processing flag. This change adds several platform 
annotations, those now in the java.base module, to the list of 
annotation that should be filtered away as being out-of-scope for 
annotation processors to process since they are implicitly handled by javac.

In addition, the module-enabled releases the string-based check adds 
"java.base/" as a prefix.

Thanks,

-Joe



More information about the compiler-dev mailing list