On Tue, 12 Oct 2021 15:23:15 GMT, Hannes Wallnöfer <hann...@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

Reply via email to