diff --git a/src/orchard/java/classpath.clj b/src/orchard/java/classpath.clj index 6935a551..a92b216f 100644 --- a/src/orchard/java/classpath.clj +++ b/src/orchard/java/classpath.clj @@ -72,7 +72,8 @@ [^URL url] (let [loader (or (modifiable-classloader) (set-classloader! - (modifiable-classloader @Compiler/LOADER)))] + (modifiable-classloader (clojure.lang.DynamicClassLoader. + (clojure.lang.RT/baseLoader)))))] (when (dp/add-classpath-url loader url) url)))