[github-17] exclude Xbootclasspath from eval-in-project forking of JVM
This commit is contained in:
parent
5dcbda0ef7
commit
199d03a34d
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@
|
|||
(when (or (= :macosx (get-os)) native-path)
|
||||
(.setFork java true)
|
||||
(doseq [arg (get-jvm-args)]
|
||||
(.setValue (.createJvmarg java) arg)))
|
||||
(when-not (re-matches #"^-Xbootclasspath.+" arg)
|
||||
(.setValue (.createJvmarg java) arg))))
|
||||
(.setClassname java "clojure.main")
|
||||
(.setValue (.createArg java) "-e")
|
||||
(let [cp (str (.getClasspath (.getCommandLine java)))
|
||||
|
|
Loading…
Reference in a new issue