Hi All,
          Please review the following fix in API doc for jdk9

Bug:             https://bugs.openjdk.java.net/browse/JDK-8073211
webrev: http://cr.openjdk.java.net/~naoto/naveen/8073211/webrev.00/

Issue:

The 2 parseObject methods in java.text.Format throw a NullPointerException if the parameter "source" is null. However, this is not specified in the javadoc. Please note that this should also be checked & corrected in all subclasses of java.text.Format

Fix:
Documentations of /java.text.Format.parseObject(java.lang.String, java.text.ParsePosition)/, /java.text.Format.parseObject(java.lang.String)/, /java.text.MessageFormat.parseObject(java.lang.String, java.text.ParsePosition)/, /java.text.DateFormat.parseObject(java.lang.String, java.text.ParsePosition)/, /java.text.NumberFormat.parseObject(java.lang.String, java.text.ParsePosition)/ are updated with the following addition:

* @throws NullPointerException if {@code source} is null.


regards
Naveen Kumar

Reply via email to