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

Reply via email to