RFR: 8315534: Incorrect warnings about implicit annotation processing

Joe Darcy darcy at openjdk.org
Fri Sep 1 16:36:38 UTC 2023


On Fri, 1 Sep 2023 15:44:06 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> When the API client sets annotation processors using `CompilationTask.setProcessors` and then uses `JavacTask` to drive the compiler using the `analyze()` method, the `compiler.note.implicit.annotation.processing` note is printed even though the annotation processing is explicit.
> 
> This patch is attempting to solve that by marking all processing with explicit processors as explicit.

Marked as reviewed by darcy (Reviewer).

Thanks for fixing this @lahodaj ; looks fine. I think this issue would be good to backport to 21u as well.

-------------

PR Review: https://git.openjdk.org/jdk/pull/15540#pullrequestreview-1607303339
PR Comment: https://git.openjdk.org/jdk/pull/15540#issuecomment-1703019401


More information about the compiler-dev mailing list