RFR: 8284697: Avoid parsing the doc comment of an element that is not documented

Jonathan Gibbons jjg at openjdk.java.net
Sat Apr 16 20:55:27 UTC 2022


On Fri, 15 Apr 2022 18:23:38 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> We shouldn't parse comments that are going to be thrown away.
> 
> Although the change is simple, I have no idea on how to test it. So I'm tempted to affix the "noreg-other" or "noreg-hard" label on the JBS issue.

The way to test it would be to put errors into a doc comment, and verify that no errors are reported, strongly implying the comment was not parse

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

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


More information about the javadoc-dev mailing list