--- old/jdk/src/java.base/share/classes/java/text/Format.java 2015-11-13 13:48:41.451623999 +0530
+++ new/jdk/src/java.base/share/classes/java/text/Format.java 2015-11-13 13:48:41.263529999 +0530
@@ -226,6 +226,7 @@
* @return An Object
parsed from the string. In case of
* error, returns null.
* @exception NullPointerException if pos
is null.
+ * @throws NullPointerException if {@code source} is null.
*/
public abstract Object parseObject (String source, ParsePosition pos);
@@ -237,6 +238,7 @@
* @return An Object
parsed from the string.
* @exception ParseException if the beginning of the specified string
* cannot be parsed.
+ * @throws NullPointerException if {@code source} is null.
*/
public Object parseObject(String source) throws ParseException {
ParsePosition pos = new ParsePosition(0);
--- old/jdk/src/java.base/share/classes/java/text/MessageFormat.java 2015-11-13 13:48:41.903849999 +0530
+++ new/jdk/src/java.base/share/classes/java/text/MessageFormat.java 2015-11-13 13:48:41.723760000 +0530
@@ -1069,6 +1069,7 @@
* @return An Object
array parsed from the string. In case of
* error, returns null.
* @exception NullPointerException if pos
is null.
+ * @throws NullPointerException if {@code source} is null.
*/
public Object parseObject(String source, ParsePosition pos) {
return parse(source, pos);
--- old/jdk/src/java.base/share/classes/java/text/DateFormat.java 2015-11-13 13:48:42.392094000 +0530
+++ new/jdk/src/java.base/share/classes/java/text/DateFormat.java 2015-11-13 13:48:42.199998000 +0530
@@ -419,6 +419,7 @@
* @return A Date
parsed from the string. In case of
* error, returns null.
* @exception NullPointerException if pos
is null.
+ * @throws NullPointerException if {@code source} is null.
*/
public Object parseObject(String source, ParsePosition pos) {
return parse(source, pos);
--- old/jdk/src/java.base/share/classes/java/text/NumberFormat.java 2015-11-13 13:48:42.852324000 +0530
+++ new/jdk/src/java.base/share/classes/java/text/NumberFormat.java 2015-11-13 13:48:42.672234000 +0530
@@ -272,6 +272,7 @@
* @return A Number
parsed from the string. In case of
* error, returns null.
* @exception NullPointerException if pos
is null.
+ * @throws NullPointerException if {@code source} is null.
*/
@Override
public final Object parseObject(String source, ParsePosition pos) {