RFR: JDK-8189591: No way to locally suppress doclint warnings

Hannes Wallnöfer hannesw at openjdk.java.net
Tue Oct 12 15:32:50 UTC 2021


On Fri, 8 Oct 2021 18:32:53 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a moderately simple change, to have DocLint check for relevant `@SuppressWarnings` annotations before reporting any messages.

Very nice! Looks good to me.

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?

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

Marked as reviewed by hannesw (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5870


More information about the compiler-dev mailing list