Cherry-pick: ticket:11753: Resource directory path must end with a slash

http://bugs.icu-project.org/trac/changeset/37639

Change-Id: I091baba5a32867bcf8f2b764d3ee3e2f4cd3047d
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundle.java b/icu4j/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundle.java
index d3711db..0c6d52e 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundle.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundle.java
@@ -666,7 +666,7 @@
         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()) {