ICU-4162 for ures_openDirect use ICUResourceBundle.createBundle

X-SVN-Rev: 16667
This commit is contained in:
Ram Viswanadha 2004-10-29 00:44:54 +00:00
parent 9ea86eb151
commit c160b79336

View File

@ -344,7 +344,7 @@ public class Currency extends MeasureUnit implements Serializable {
s = ((String[]) currencies[i][1])[nameStyle];
break;
}
}
} c
*/
}
catch (MissingResourceException e) {}
@ -582,7 +582,7 @@ public class Currency extends MeasureUnit implements Serializable {
// Get CurrencyMeta resource out of root locale file. [This may
// move out of the root locale file later; if it does, update this
// code.]
ICUResourceBundle root = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,"CurrencyData");
ICUResourceBundle root = ICUResourceBundle.createBundle(ICUResourceBundle.ICU_BASE_NAME,"CurrencyData", ICUResourceBundle.ICU_DATA_CLASS_LOADER);
ICUResourceBundle currencyMeta = root.get("CurrencyMeta");
//Integer[] i = null;