Skip to content

Commit 8084537

Browse files
plexusbbatsov
authored andcommitted
Fix support for ClojureScript <1.10 on JDK>=9
ClojureScript prior to 1.10 relied on the javax.xml.bind API. Since JDK 9 this API is part of a Jigsaw module that needs to be included when booting the JVM, from JDK 11 this API is no longer bundled with the JDK. To prevent users from running into this issue, we always include the JAXB API as a separate dependency. This can be dropped once we drop support for ClojureScript < 1.10.
1 parent 1af0b41 commit 8084537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
:resource-paths ["test/resources"]
105105
:test-paths ["test/clj"]}
106106
:test-cljs {:test-paths ["test/cljs"]
107-
:dependencies [[cider/piggieback "0.3.9"]]}
107+
:dependencies [[cider/piggieback "0.3.10"]
108+
[javax.xml.bind/jaxb-api "2.3.1"]]}
108109

109110
:sysutils {:plugins [[lein-sysutils "0.2.0"]]}
110111

0 commit comments

Comments
 (0)