RFR: 8012675: Javadoc for javax.swing.text.html.parser.Parser.handleComment() needs to be updated [v16]

Alexey Ivanov aivanov at openjdk.org
Thu Jun 16 20:50:55 UTC 2022


On Thu, 16 Jun 2022 20:34:00 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> The `<p>` tag before `@implNote` is unneeded, javadoc will generate a section code.

It must be removed, it results in `make docs` failure:


=== Output from failing command(s) repeated here ===
* For target jdk_modules_java.desktop__the.java.desktop_batch:
...\classes\javax\swing\text\html\HTMLEditorKit.java:1303:
warning: empty <p> tag
     * <p>
       ^

> You should close `</li>` not on the first line but after closing `</ul>`: the inner `<ul>` has to be inside a list item.

`make docs` also reports an error here:


...\javax\swing\text\html\HTMLEditorKit.java:1310:
error: tag not allowed here: <ul>
     * <ul>
       ^

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

PR: https://git.openjdk.org/jdk/pull/7446



More information about the client-libs-dev mailing list