RFR: 8193037 package-info annotations are not reported when annotation processing is enabled

Liam Miller-Cushon cushon at google.com
Thu Jan 25 18:27:40 UTC 2018


Friendly ping.

On Mon, Jan 8, 2018 at 11:42 AM, Liam Miller-Cushon <cushon at google.com>
wrote:

> 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-Dec
>> ember/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/20180125/3f07c423/attachment.html>


More information about the compiler-dev mailing list