[13] RFR: 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time

Rachna Goel rachna.goel at oracle.com
Thu Mar 7 12:50:44 UTC 2019


Hi Naoto,

This fix looks good to me.

Thanks,

Rachna


On 3/6/19 4:50 AM, Naoto Sato wrote:
> Hello,
>
> Please review the fix to the following issue:
>
> https://bugs.openjdk.java.net/browse/JDK-8218948
>
> The proposed changeset is located at:
>
> http://cr.openjdk.java.net/~naoto/8218948/webrev.00/
>
> This is a follow on fix to 8217366. There are several root causes 
> included in this bug, when the runtime supplements missing display 
> names in non-US locales :-
>
> - Retrieve the names for the requested id first, before it maps to the 
> canonical id, and on canonicalizing the id, use unique way 
> (canonicalTZID()) to canonicalize.
>
> - Retrieve the names in the same manner, between 
> DateFormatSymbols.getZoneStrings() and TimeZone.getDisplayName().
>
> - Correctly map the Chinese locales between JDK and CLDR, in terms of 
> Simplified/Traditional scripts.
>
> Naoto

-- 
Thanks,
Rachna



More information about the core-libs-dev mailing list