changeset 60102:7e6165c9c606

8239017: cmp-baseline fails because of differences in TimeZoneNames_kea Reviewed-by: erikj
author naoto
date Thu, 13 Feb 2020 17:14:45 -0800
parents 87651cb03ebc
children f425abab6723
files make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java	Thu Feb 13 13:43:09 2020 -0800
+++ b/make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java	Thu Feb 13 17:14:45 2020 -0800
@@ -685,7 +685,7 @@
     }
 
     private static Map<String, Object> extractZoneNames(Map<String, Object> map, String id) {
-        Map<String, Object> names = new HashMap<>();
+        Map<String, Object> names = new TreeMap<>(KeyComparator.INSTANCE);
 
         getAvailableZoneIds().stream().forEach(tzid -> {
             // If the tzid is deprecated, get the data for the replacement id