Permalink
Browse files

Fix broken instantiation of Dalvik class loader.

  • Loading branch information...
1 parent 60a1b8a commit 641c6330cee904b8967bf801a4c33cd7a9c48370 @sattvik committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/clojure/main.clj
View
@@ -164,7 +164,7 @@
(if (= vm-type :dalvik-vm)
(let [cl-class (Class/forName "clojure.lang.DalvikDynamicClassLoader")
cl-constructor (.getConstructor cl-class (into-array [ClassLoader]))]
- (.newInstance cl-constructor cl))
+ (.newInstance cl-constructor (to-array [cl])))
(clojure.lang.JvmDynamicClassLoader. cl))))
(let [{:keys [init need-prompt prompt flush read eval print caught]
:or {init #()

0 comments on commit 641c633

Please sign in to comment.