*) Bugfix: Share subdirectory couldn't be views because of LinkageErrors

See: http://www.yacy-forum.de/viewtopic.php?t=1634

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1218 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent c4dd39e8f2
commit b6be828d15

@ -122,6 +122,9 @@ public final class serverClassLoader extends ClassLoader {
c = this.defineClass(classname, b, 0, b.length);
resolveClass(c);
this.classes.put(classfile, c);
} catch (LinkageError ee) {
c = findLoadedClass(classname);
if (c!=null) return c;
} catch (IOException ee) {
//System.out.println("INTERNAL ERROR2 in cachedClassLoader: " + ee.getMessage());
throw new ClassNotFoundException(classfile.toString());

Loading…
Cancel
Save