JDK-8225062 : Release Note: DateTimeFormatter now throws DateTimeParseException on Invalid HOUR_OF_AMPM
Type:Sub-task
Component:core-libs
Sub-Component:java.time
Affected Version:13
Priority:P4
Status:Closed
Resolution:Delivered
OS:generic
CPU:generic
Submitted:2019-05-30
Updated:2019-07-23
Resolved:2019-07-23
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The parsing behavior of `DateTimeFormatter` with `HOUR_OF_AMPM` has changed. It now correctly throws a `DateTimeParseException` with an out-of-bounds input values, such as `12`.