src/share/classes/sun/util/locale/provider/LocaleResources.java

Print this page

        

@@ -250,11 +250,11 @@
         return (String) localeName;
     }
 
     String[] getTimeZoneNames(String key, int size) {
         String[] names = null;
-        String cacheKey = TIME_ZONE_NAMES + key;
+        String cacheKey = TIME_ZONE_NAMES + size + '.' + key;
 
         removeEmptyReferences();
         ResourceReference data = cache.get(cacheKey);
 
         if (data == null || ((names = (String[]) data.get()) == null)) {