aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/repl_utils.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib/repl_utils.clj')
-rw-r--r--src/clojure/contrib/repl_utils.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/repl_utils.clj b/src/clojure/contrib/repl_utils.clj
index ba045565..86ea80b5 100644
--- a/src/clojure/contrib/repl_utils.clj
+++ b/src/clojure/contrib/repl_utils.clj
@@ -66,7 +66,7 @@
(let [ns-name (str (.name (.ns v)))
path (first (re-seq #"^.*(?=/[^/]*$)" (.replace ns-name "." "/")))
fname (str path "/" (:file ^v))]
- (when-let [strm (.getResourceAsStream RT/ROOT_CLASSLOADER fname)]
+ (when-let [strm (.getResourceAsStream (RT/baseLoader) fname)]
(with-open [rdr (LineNumberReader. (InputStreamReader. strm))]
(dotimes [_ (dec (:line ^v))] (.readLine rdr))
(let [text (StringBuilder.)