diff --git a/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java b/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java index d6349f2cf2444..8bfb8088108ce 100644 --- a/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java +++ b/src/java.base/share/classes/sun/util/calendar/ZoneInfoFile.java @@ -289,9 +289,7 @@ private static void load(DataInputStream dis) throws IOException { } } // old us time-zone names - for (var key : ZoneId.SHORT_IDS.keySet()) { - aliases.put(key, ZoneId.SHORT_IDS.get(key)); - } + aliases.putAll(ZoneId.SHORT_IDS); } /////////////////////////Ser/////////////////////////////////