mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-13 12:38:07 +00:00
8035106: Typo in java.time.format.Parsed error message
Reviewed-by: lancea
This commit is contained in:
parent
e112d0032d
commit
81b6eb6a69
@ -289,7 +289,7 @@ final class Parsed implements TemporalAccessor {
|
||||
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++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user