RFR: 8193037 package-info annotations are not reported when annotation processing is enabled
Liam Miller-Cushon
cushon at google.com
Mon Jan 8 19:42:25 UTC 2018
Is anyone interested in sponsoring this patch?
On Tue, Dec 5, 2017 at 5:49 PM, Liam Miller-Cushon <cushon at google.com>
wrote:
> Hello,
>
> Please review the following fix for JDK-8193037.
>
> javac should only reset package-info symbols between annotation processing
> rounds if
> the package-info is being compiled from source. Previously package-infos
> loaded from
> the classpath were reset and not reinitialized, leading to package
> annotations being
> unavailable during later annotation processing rounds.
>
> I included an additional test case to ensure that package-infos are still
> reset when
> necessary. Related discussion:
> http://mail.openjdk.java.net/pipermail/compiler-dev/2017-
> December/011398.html
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8193037
> webrev: http://cr.openjdk.java.net/~cushon/8193037/webrev.00/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180108/d6e8e619/attachment.html>
More information about the compiler-dev
mailing list