Skip to content
Browse files

CLASSPATH-3: Eliminate one use of reflection in java.classpath

Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
  • Loading branch information...
1 parent 1a9d89e commit c561c4850abaa569bc970c1fa008641764159889 @jafingerhut jafingerhut committed with stuartsierra Oct 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/clojure/java/classpath.clj
View
2 src/main/clojure/clojure/java/classpath.clj
@@ -62,7 +62,7 @@
loader-classpath
(take-while
identity
- (iterate #(.getParent %) classloader)))))
+ (iterate #(.getParent ^ClassLoader %) classloader)))))
([] (classpath (clojure.lang.RT/baseLoader))))
(defn classpath-directories

0 comments on commit c561c48

Please sign in to comment.
Something went wrong with that request. Please try again.