<i18n dev> RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v3]

Jim Laskey jlaskey at openjdk.org
Mon Oct 31 15:01:31 UTC 2022


On Fri, 28 Oct 2022 19:45:55 GMT, Rémi Forax <forax at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update TemplateRuntime::combine
>
> src/java.base/share/classes/java/util/FormatProcessor.java line 198:
> 
>> 196:      * {@link FMT} uses the Locale.US {@link Locale}.
>> 197:      */
>> 198:     public static final FormatProcessor FMT = new FormatProcessor(Locale.US);
> 
> `Locale.US` or `Locale.ROOT` ??
> see https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/Locale.html#ROOT

There was a bug in DecimalFormatSymbols when I started this work and Locale.ROOT was problematic. I didn't circle around to check later. Changing.

-------------

PR: https://git.openjdk.org/jdk/pull/10889


More information about the i18n-dev mailing list