# HG changeset patch # User rriggs # Date 1393624872 18000 # Node ID 5d2dbc7106e986d61eea8da396087654dab8fdc8 # Parent b711f9772be8352a46d92abf92642e5a3028bb09 8035106: Typo in java.time.format.Parsed error message Reviewed-by: lancea diff -r b711f9772be8 -r 5d2dbc7106e9 jdk/src/share/classes/java/time/format/Parsed.java --- a/jdk/src/share/classes/java/time/format/Parsed.java Fri Feb 28 13:36:46 2014 -0500 +++ b/jdk/src/share/classes/java/time/format/Parsed.java Fri Feb 28 17:01:12 2014 -0500 @@ -289,7 +289,7 @@ changedCount++; continue outer; // have to restart to avoid concurrent modification } - throw new DateTimeException("Method resolveFields() can only return ChronoZonedDateTime," + + throw new DateTimeException("Method resolve() can only return ChronoZonedDateTime, " + "ChronoLocalDateTime, ChronoLocalDate or LocalTime"); } else if (fieldValues.containsKey(targetField) == false) { changedCount++;