RFR: JDK-8269774: doclint reports missing javadoc comments for JavaFX properties if the docs are on the property method
Kevin Rushforth
kcr at openjdk.java.net
Tue Jul 13 12:03:54 UTC 2021
On Fri, 9 Jul 2021 19:17:04 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> Please review a simple change to the code for generating docs for JavaFX properties, in order to suppress an inappropriate
> "missing comment" warning.
>
> The change is to use `hasDocCommentTree` instead of `getDocCommentTree`.
>
> A new test is added, that runs javadoc on similar classes, with and without a comment on the field for a property. In both cases, no warnings about missing comments should be generated, and when the comment is available, it is used as expected.
Marked as reviewed by kcr (Author).
-------------
PR: https://git.openjdk.java.net/jdk/pull/4747
More information about the javadoc-dev
mailing list