RFR: JDK-8285869: Selective cleanup in doclint Checker class [v2]

Pavel Rappo prappo at openjdk.java.net
Tue May 3 22:41:01 UTC 2022


On Tue, 3 May 2022 22:30:51 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Yes, but RECORD is handled in a different case, along with METHOD and CONSTRUCTOR, because it can have "plain" `@param` as well as type-parameter `@param`. In contrast, a class or interface can only have type-parameter `@param` and never plain `@param`.

You are correct; I missed that unconditionality in that second arm for`METHOD, CONSTRUCTOR, RECORD`.

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

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


More information about the compiler-dev mailing list