JDK 13 RFR of JDK-8146726 : Improve AbstractProcessor to issue warnings for repeated information

Joe Darcy joe.darcy at oracle.com
Fri Apr 26 00:42:23 UTC 2019

Hi Jon,

On 4/25/2019 4:59 PM, Jonathan Gibbons wrote:
> There's bad indentation on line 199.

Noted; will fix.

> What about localization for the inline English strings?

We haven't supported localization of error/warning message from the 
libraries in contrast with the localization policies for javac.

For example, getSupportedSourceVersion can generate a non-localized 
warning as can getSupportedAnnotationTypes for a different situation.

I would view adding localization as out-of-scope for this particular 
changeset, but something we could consider as a future enhancement.



More information about the compiler-dev mailing list