RFR: 8261670: Add javadoc for the XML processing limits

Naoto Sato naoto at openjdk.java.net
Thu Feb 25 22:36:41 UTC 2021


On Thu, 25 Feb 2021 22:04:41 GMT, Joe Wang <joehw at openjdk.org> wrote:

> Add the documentation for XML processing limits to module summary. The limits were previously documented in Java tutorial and guide.

src/java.xml/share/classes/module-info.java line 231:

> 229:  * <th id="Value" scope="row" style="font-weight:normal" rowspan="9">
> 230:  * A positive integer. A value less than or equal to 0 indicates no limit.
> 231:  * If the value is not an integer, a NumericFormatException is thrown.

Is it a ```NumberFormatException```? Also, @link might be useful here.

src/java.xml/share/classes/module-info.java line 233:

> 231:  * If the value is not an integer, a NumericFormatException is thrown.
> 232:  * </th>
> 233:  * <th id="Default" scope="row" style="font-weight:normal">64000</th>

There are other ```Default``` ids in other rows. Should they be distinct? Or rather needed?

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

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


More information about the core-libs-dev mailing list