RFR: JDK-8310061: Note if implicit annotation processing is being used [v4]
Joe Darcy
darcy at openjdk.org
Wed Jun 28 20:09:56 UTC 2023
On Wed, 28 Jun 2023 17:16:27 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Expand cases where an annotation processor path is detected.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties line 1778:
>
>> 1776: path is specified (--processor-path, --processor-module-path), or annotation\n\
>> 1777: processing is enabled explicitly (-proc:only, -proc:full).\n\
>> 1778: Use -Xlint:-options to suppress this message.
>
> You ought to be able to suppress the message by addressing the underlying cause, not just by disabling the check.
> For example, I would expect `-proc:none` to disable the message as well.
That observation is true and I'll add -proc:none to the test case.
I'll add a sentence that -proc:none will disable processing.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14499#discussion_r1245703410
More information about the compiler-dev
mailing list