ICU-3301 dont canonicalize the locale name when fallback is disabled
X-SVN-Rev: 15519
This commit is contained in:
parent
612cb5982a
commit
e412fc0d3c
@ -341,7 +341,6 @@ public abstract class UResourceBundle extends ResourceBundle{
|
||||
UResourceBundle b = null;
|
||||
if(disableFallback){
|
||||
ULocale defaultLocale = ULocale.getDefault();
|
||||
localeName = ULocale.getBaseName(localeName);
|
||||
String fullName = ICUResourceBundleReader.getFullName(baseName, localeName);
|
||||
cacheKey.setKeyValues(root, fullName, defaultLocale);
|
||||
b = loadFromCache(cacheKey);
|
||||
|
Loading…
Reference in New Issue
Block a user