ICU-5183 applied patch for cache fix

X-SVN-Rev: 19601
This commit is contained in:
Doug Felt 2006-05-02 16:41:38 +00:00
parent bfcdc84f92
commit 9700894d85

View file

@ -292,7 +292,7 @@ public abstract class UResourceBundle extends ResourceBundle{
*/
protected static synchronized void addToCache(ClassLoader cl, String fullName, ULocale defaultLocale, UResourceBundle b){
cacheKey.setKeyValues(cl, fullName, defaultLocale);
addToCache(cacheKey, b);
addToCache(cacheKey.clone(), b);
}
/**
* @internal revisit for ICU 3.6