Skip to content

Commit

Permalink
Update to test with clojure 1.7.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Jul 3, 2015
1 parent f17f479 commit 8769bb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -31,6 +31,9 @@
(def default (doto (WunderBoss/findOrCreateComponent Messaging) (.start)))

(defn create-opts-fn [class]
;; clojure 1.7.0 no longer initializes classes on import, so we have
;; to force init here (see CLJ-1315)
(Class/forName (.getName class))
(let [avail-options (->> class
Option/optsFor
(map #(vector (keyword (.name %)) %))
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -46,7 +46,7 @@
<version.logback>1.1.2</version.logback>
<version.jboss-logging>3.1.4.GA</version.jboss-logging>
<version.junit>4.11</version.junit>
<version.clojure>1.6.0</version.clojure>
<version.clojure>1.7.0</version.clojure>
<version.lein>2.4.3</version.lein>
</properties>

Expand Down

0 comments on commit 8769bb0

Please sign in to comment.