fixed ClassNotFound

This commit is contained in:
Alexey Kudravtsev
2012-01-18 18:14:00 +04:00
parent 709bf4ab6d
commit 2faa3a1542
2 changed files with 2 additions and 1 deletions
@@ -119,7 +119,7 @@ class ClassPath {
List<Loader> loaders = myCache.getLoaders(s);
for (int j = 0, size = loaders.size(); j < size; ++j ) {
final Loader loader = loaders.get(j);
//if (!myCache.loaderHasName(s, loader)) continue;
if (!myCache.loaderHasName(s, loader)) continue;
final Resource resource = loader.getResource(s, flag);
if (resource != null) {
if (ourDumpOrder) {
@@ -111,6 +111,7 @@ class FileLoader extends Loader {
String line = reader.readLine();
if (line == null) break;
cache.addResourceEntry(line, this);
cache.addNameEntry(line, this);
}
while (true);
}