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

Pavel Rappo prappo at openjdk.java.net
Mon Apr 18 12:11:40 UTC 2022


On Sat, 16 Apr 2022 20:52:42 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> 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

Although we could do that, we should also keep in mind that those errors weren't reported before. If such a test is run on an unfixed version, it won't fail. This is not the behaviour one would expect from a regression test.

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

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


More information about the javadoc-dev mailing list