JDK 13 RFR of JDK-8224177: Harden annotation processing framework to irregular behavior from processors
Joseph D. Darcy
joe.darcy at oracle.com
Wed May 22 00:55:54 UTC 2019
Hello,
Updated with test cases so that CheckExamples.java will pass for the new
messages:
http://cr.openjdk.java.net/~darcy/8224177.1
Thanks,
-Joe
On 5/19/2019 11:36 PM, Joe Darcy wrote:
> Hello,
>
> As a complement to the changes in AbstractProcessor done under
> JDK-8146726 , the annotation processing framework in javac could be
> hardened against various kinds of irregular results returned from
> processors. The hardening can include just warning about redundant but
> not strictly incorrect information.
>
> Webrev at:
>
> http://cr.openjdk.java.net/~darcy/8224177.0/
>
> Most of the code changes in JavacProcessingEnvironment are to guard
> against misbehaving Set implementations returned from Processors;
> perhaps this is an unnecessary degree of caution.
>
> There may be other test updates needed for account for the new
> warnings messages; I'll make any such update once there is review
> feedback and agreement on (what subset of) this change's checks should
> go back.
>
> Thanks,
>
> -Joe
>
More information about the compiler-dev
mailing list