Bugfix: super.loadClass calls loadClass in superclass

... superclass's loadClass calls right loadClass, right loadClass calls
super.loadClass, super.loadClass calls loadClass in superclass,
superclass's loadClass calls right loadClass, right loadClass calls
super.loadClass, super.loadClass calls loadClass in superclass,
superclass's loadClass calls right loadClass, right loadClass calls
super.loadClass, super.loadClass calls loadClass in superclass,
superclass's loadClass calls right loadClass, right loadClass calls
super.loadClass, super.loadClass calls loadClass in superclass,
superclass's loadClass calls right loadClass, right loadClass calls
super.loadClass, super.loadClass calls loadClass in superclass,
superclass's loadClass calls right loadClass, right loadClass calls
super.loadClass, super.loadClass calls loadClass in superclass...
recursion 😄
This commit is contained in:
Szperak 2015-08-31 16:42:27 +02:00
parent a98ff88ba4
commit 5685681f5c

View file

@ -110,7 +110,7 @@ public final class ClassNodeLoader extends ClassLoader {
if (classes.containsKey(name)) { if (classes.containsKey(name)) {
return nodeToClass(classes.get(name)); return nodeToClass(classes.get(name));
} else { } else {
return super.loadClass(name); return super.findClass(name);
} }
} }