diff --git a/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ICUCurrencyDisplayInfoProvider.java b/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ICUCurrencyDisplayInfoProvider.java index e69f2a6052..b0fe8de769 100644 --- a/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ICUCurrencyDisplayInfoProvider.java +++ b/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ICUCurrencyDisplayInfoProvider.java @@ -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;