Integrated: 8315534: Incorrect warnings about implicit annotation processing

Jan Lahoda jlahoda at openjdk.org
Mon Sep 4 10:09:47 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.

This pull request has now been integrated.

Changeset: 94a74a0a
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/94a74a0a450cad6080302bc1db15a1a564940bdd
Stats:     102 lines in 2 files changed: 95 ins; 2 del; 5 mod

8315534: Incorrect warnings about implicit annotation processing

Reviewed-by: darcy

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

PR: https://git.openjdk.org/jdk/pull/15540


More information about the compiler-dev mailing list