src/share/classes/sun/util/locale/provider/LocaleResources.java
Print this page
*** 250,260 ****
return (String) localeName;
}
String[] getTimeZoneNames(String key, int size) {
String[] names = null;
! String cacheKey = TIME_ZONE_NAMES + key;
removeEmptyReferences();
ResourceReference data = cache.get(cacheKey);
if (data == null || ((names = (String[]) data.get()) == null)) {
--- 250,260 ----
return (String) localeName;
}
String[] getTimeZoneNames(String key, int size) {
String[] names = null;
! String cacheKey = TIME_ZONE_NAMES + size + '.' + key;
removeEmptyReferences();
ResourceReference data = cache.get(cacheKey);
if (data == null || ((names = (String[]) data.get()) == null)) {