ICU-11753 Resource directory path must end with a slash

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/252750043.

X-SVN-Rev: 37639
This commit is contained in:
Fredrik Roubert 2015-07-01 17:37:18 +00:00
parent 1c7655266b
commit e2d4e965d2

View file

@ -666,7 +666,7 @@ public class ICUResourceBundle extends UResourceBundle {
String skipScan = ICUConfig.get("com.ibm.icu.impl.ICUResourceBundle.skipRuntimeLocaleResourceScan", "false");
if (!skipScan.equalsIgnoreCase("true")) {
// scan available locale resources under the base url first
addBundleBaseNamesFromClassLoader(baseName, loader, set);
addBundleBaseNamesFromClassLoader(bn, loader, set);
if (baseName.startsWith(ICUData.ICU_BASE_NAME)) {
String folder;
if (baseName.length() == ICUData.ICU_BASE_NAME.length()) {