RFR: 8261670: Add javadoc for the XML processing limits

Joe Wang joehw at openjdk.java.net
Thu Feb 25 22:39:40 UTC 2021


On Thu, 25 Feb 2021 22:28:43 GMT, Naoto Sato <naoto 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.

Oh my, the typo has been in the tutorial all this time! It's NumberFormatException indeed.

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

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


More information about the core-libs-dev mailing list