gnu: ecj-javac-wrapper: Remove rt.jar from classpath.

* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Do not add jamvm's
rt.jar to the classpath.
This commit is contained in:
Ricardo Wurmus 2021-12-17 17:20:16 +01:00
parent 3287c7c781
commit abbe291fc2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -544,10 +544,7 @@ (define defaults
(define (main args)
(let ((classpath (getenv "CLASSPATH")))
(setenv "CLASSPATH"
(string-join (list ,ecj
,(string-append (assoc-ref %build-inputs "jamvm")
"/lib/rt.jar")
(or classpath ""))
(string-join (list ,ecj (or classpath ""))
":")))
(receive (vm-args other-args)
;; Separate VM arguments from arguments to ECJ.