src/share/classes/sun/util/locale/provider/CurrencyNameProviderImpl.java
Print this page
rev 5931 : imported patch 8000245.8000273.8000615
*** 123,137 ****
OpenListResourceBundle bundle = LocaleProviderAdapter.forType(type).getLocaleData().getCurrencyNames(locale);
LocaleServiceProviderPool pool =
LocaleServiceProviderPool.getPool(CurrencyNameProvider.class);
try {
- if (!pool.hasProviders() ||
- (bundle.getLocale().equals(locale) &&
- bundle.handleGetKeys().contains(key))) {
return bundle.getString(key);
- }
} catch (MissingResourceException mre) {}
return null;
}
}
--- 123,133 ----