gnu: Add jamvm-with-ecj4.

* gnu/packages/java.scm (jamvm-with-ecj4): New variable.
This commit is contained in:
Ricardo Wurmus 2021-12-17 22:55:54 +01:00
parent 4bf00e164f
commit 35bac40a67
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -877,6 +877,13 @@ supports sufficient parts of Java 7 to build Icedtea 2.x.")
(native-inputs
(list guile-3.0 ecj4-bootstrap jamvm classpath-devel))))
(define jamvm-with-ecj4
(package
(inherit jamvm)
(inputs
(modify-inputs (package-inputs jamvm)
(replace "ecj-javac-wrapper" ecj4-javac-wrapper)))))
;; The bootstrap JDK consisting of jamvm, classpath-devel,
;; ecj-javac-wrapper-final cannot build Icedtea 2.x directly, because it's
;; written in Java 7. It can, however, build the unmaintained Icedtea 1.x,