--- 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);