RFR: 8194069: doclint throws missing comment warnings on lines which can't even have javadoc
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Jan 4 00:26:53 UTC 2018
Please review a simple update for JDK 10, that fixes a recently reported
issue, that doclint was reporting spurious errors related to lambda
expressions.
The fix is simple: ignore lambda expressions when scanning for doc
comments. In addition, all BlockTree nodes are also ignored, since
javadoc never analyses declarations within blocks.
The test is lightly edited from the test case provided in the bug report.
Bug: https://bugs.openjdk.java.net/browse/JDK-8194069
Webrev: http://cr.openjdk.java.net/~jjg/8194069/webrev.00/
-- Jon
More information about the javadoc-dev
mailing list