diff --git a/platform/util/src/com/intellij/util/lang/UrlClassLoader.java b/platform/util/src/com/intellij/util/lang/UrlClassLoader.java index 5299cf9e5be1..85f55fa90102 100644 --- a/platform/util/src/com/intellij/util/lang/UrlClassLoader.java +++ b/platform/util/src/com/intellij/util/lang/UrlClassLoader.java @@ -32,7 +32,6 @@ import java.util.*; public class UrlClassLoader extends ClassLoader { private final ClassPath myClassPath; private final List myURLs; - private final Set myNotFound = new THashSet(); @NonNls static final String CLASS_EXTENSION = ".class"; protected static final boolean myDebugTime = false; protected static final long NS_THRESHOLD = 10000000; @@ -70,12 +69,8 @@ public class UrlClassLoader extends ClassLoader { } protected Class findClass(final String name) throws ClassNotFoundException { - if (myNotFound.contains(name)) { - throw new ClassNotFoundException(name); - } Resource res = myClassPath.getResource(name.replace('.', '/').concat(CLASS_EXTENSION), false); if (res == null) { - myNotFound.add(name); throw new ClassNotFoundException(name); }