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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Liam Miller-Cushon
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:

Reply | Threaded
Open this post in threaded view
|

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

Liam Miller-Cushon
Is anyone interested in sponsoring this patch?

On Tue, Dec 5, 2017 at 5:49 PM, Liam Miller-Cushon <[hidden email]> 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:


Reply | Threaded
Open this post in threaded view
|

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

Liam Miller-Cushon
Friendly ping.

On Mon, Jan 8, 2018 at 11:42 AM, Liam Miller-Cushon <[hidden email]> wrote:
Is anyone interested in sponsoring this patch?

On Tue, Dec 5, 2017 at 5:49 PM, Liam Miller-Cushon <[hidden email]> 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: