Skip to content

Commit

Permalink
CLJ-1663: delegate loadClass to super classloader before delegating t…
Browse files Browse the repository at this point in the history
…o parent classloader

Signed-off-by: Stuart Halloway <stu@cognitect.com>
  • Loading branch information
Bronsa authored and stuarthalloway committed Feb 20, 2015
1 parent ba1d8f0 commit ab6d5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvm/clojure/lang/DynamicClassLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected synchronized Class<?> loadClass(String name, boolean resolve) throws C
if (c == null) {
c = findInMemoryClass(name);
if (c == null)
c = getParent().loadClass(name);
c = super.loadClass(name, false);
}
if (resolve)
resolveClass(c);
Expand Down

0 comments on commit ab6d5bb

Please sign in to comment.