From 9ea86eb151b59ec70e25885c033cec692d05b7b5 Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Fri, 29 Oct 2004 00:42:04 +0000 Subject: [PATCH] ICU-4162 revert couple of changes X-SVN-Rev: 16666 --- icu4j/src/com/ibm/icu/util/Currency.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/icu4j/src/com/ibm/icu/util/Currency.java b/icu4j/src/com/ibm/icu/util/Currency.java index 0daa362860..5301179df9 100644 --- a/icu4j/src/com/ibm/icu/util/Currency.java +++ b/icu4j/src/com/ibm/icu/util/Currency.java @@ -331,8 +331,7 @@ public class Currency extends MeasureUnit implements Serializable { // Multi-level resource inheritance fallback loop while (locale != null) { - ICUResourceBundle rb = ICUResourceBundle.createBundle(ICUResourceBundle.ICU_BASE_NAME,"CurrencyData", ICUResourceBundle.ICU_DATA_CLASS_LOADER); - + ICUResourceBundle rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,locale); // We can't cast this to String[][]; the cast has to happen later try { ICUResourceBundle currencies = rb.get("Currencies");