Behavior difference in java.text.DateFormat API between JDK 8 and 9

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 5 07:04:24 UTC 2017



On 04/04/2017 23:30, Naoto Sato wrote:
> Hi Andrew,
>
> The behavior you are observing is the expected one. As in JDK9, the 
> default locale data is now based on Unicode Consortium's CLDR [1], and 
> their date/time combined medium format in English contains a comma 
> between date and time [2].
Just to add to Naoto's comments. JEP 252 [1] has more on this, including 
the system property to use "JRE" locale data where needed.

-Alan

[1] http://openjdk.java.net/jeps/252


More information about the jdk9-dev mailing list