提交 0d0649d5 编写于 作者: R rriggs

8035106: Typo in java.time.format.Parsed error message

Reviewed-by: lancea
上级 5917cddd
......@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册