ICU-4162 fix failure
X-SVN-Rev: 16662
This commit is contained in:
parent
371326b825
commit
e7aa2c2e3a
@ -362,7 +362,7 @@ public final class UScript {
|
||||
// return null;
|
||||
//}
|
||||
//non existent locale check
|
||||
if(rb.getLoadingStatus()==ICUResourceBundle.FROM_DEFAULT){
|
||||
if(rb.getLoadingStatus()==ICUResourceBundle.FROM_DEFAULT && !locale.equals(ULocale.getDefault())){
|
||||
return null;
|
||||
}
|
||||
ICUResourceBundle sub = rb.get("LocaleScript");
|
||||
|
Loading…
Reference in New Issue
Block a user