<i18n dev> RFR: 8248695: HostLocaleProviderAdapterImpl provides invalid date-only

naoto.sato at oracle.com naoto.sato at oracle.com
Tue Jul 7 22:55:32 UTC 2020


Please review the fix to the following issue:


The proposed changeset is located at:


There were two causes that resulted in throwing exceptions. One was that 
the Host adapter for Windows always produced Date and Time combined 
patterns, so formatting a LocalDate ended up with unsupported temporal 
field for HourOfDay (reported in the bug), and the other cause was the 
pattern for am/pm was "aa", which was not valid as a DateTimeFormatter 

Besides these issues, localized DayOfWeek/AM_PM names have not been 
correctly implemented in the host adapter. Now those names are correctly 
returned from Windows.


More information about the i18n-dev mailing list