diff -r 33de7752835c -r 94bb65cb37d3 src/java.base/share/classes/java/text/DateFormat.java --- a/src/java.base/share/classes/java/text/DateFormat.java Fri Sep 20 11:33:30 2019 +0800 +++ b/src/java.base/share/classes/java/text/DateFormat.java Fri Sep 20 11:07:52 2019 +0100 @@ -323,7 +323,7 @@ * first occurrence of the timezone pattern character {@code 'z'}. * @return the string buffer passed in as {@code toAppendTo}, * with formatted text appended. - * @exception IllegalArgumentException if the {@code Format} cannot format + * @throws IllegalArgumentException if the {@code Format} cannot format * the given {@code obj}. * @see java.text.Format */ @@ -385,7 +385,7 @@ * * @param source A String whose beginning should be parsed. * @return A Date parsed from the string. - * @exception ParseException if the beginning of the specified string + * @throws ParseException if the beginning of the specified string * cannot be parsed. */ public Date parse(String source) throws ParseException