ICU-13368 Fixing serialization test failure caused by r40561.
X-SVN-Rev: 40574
This commit is contained in:
parent
e6987fbfd8
commit
f0e9b357c2
@ -33,6 +33,8 @@ public class ICUCurrencyDisplayInfoProvider implements CurrencyDisplayInfoProvid
|
||||
|
||||
@Override
|
||||
public CurrencyDisplayInfo getInstance(ULocale locale, boolean withFallback) {
|
||||
// Make sure the locale is non-null (this can happen during deserialization):
|
||||
if (locale == null) { locale = ULocale.ROOT; }
|
||||
ICUCurrencyDisplayInfo instance = currencyDisplayInfoCache;
|
||||
if (instance == null || !instance.locale.equals(locale) || instance.fallback != withFallback) {
|
||||
ICUResourceBundle rb;
|
||||
|
Loading…
Reference in New Issue
Block a user