[13] RFR: 8223773: DateTimeFormatter Fails to throw an Exception on Invalid CLOCK_HOUR_OF_AMPM and HOUR_OF_AMPM

naoto.sato at oracle.com naoto.sato at oracle.com
Wed May 29 21:12:48 UTC 2019


Please review the fix for the following issue:


The proposed changeset is located at:


Checking the range of HourOfAmPm with the range of AmPmOfDay is 
apparently incorrect. Fixing it will change the behavior of parsing with 
SMART resolver style to throw a DateTimeParseException. This is a change 
in which an app will start to see an exception with incorrect data, but 
that is what should be in the first place.


More information about the core-libs-dev mailing list