[13] RFR: 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
Naoto Sato
naoto.sato at oracle.com
Tue Mar 5 23:20:55 UTC 2019
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
More information about the core-libs-dev
mailing list