From 35bac40a670b82f9b113d34f25c63b60e22f6096 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 17 Dec 2021 22:55:54 +0100 Subject: gnu: Add jamvm-with-ecj4. * gnu/packages/java.scm (jamvm-with-ecj4): New variable. --- gnu/packages/java.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 23691fca26..c1b3032029 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -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, -- cgit v1.2.3