RFR: JDK-8189591: No way to locally suppress doclint warnings
Jonathan Gibbons
jjg at openjdk.java.net
Tue Oct 12 16:36:47 UTC 2021
On Tue, 12 Oct 2021 15:23:15 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
>> Please review a moderately simple change, to have DocLint check for relevant `@SuppressWarnings` annotations before reporting any messages.
>
> test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java line 459:
>
>> 457:
>> 458: checkOutput(Output.OUT, false,
>> 459: ": warning:",
>
> I'm curious: what's the reason for this change?
false positives!
Aha ... my recollection is that I did the work in a directory that had "suppress-warnings" in the name, and that directory name was showing up in the filename in diagnostics, and thus giving a false positive for the apparent presence of warnings in the output!
-------------
PR: https://git.openjdk.java.net/jdk/pull/5870
More information about the compiler-dev
mailing list