Bug#893312: lombok FTBFS with openjdk-9

Emmanuel Bourg ebourg at apache.org
Wed Sep 19 12:58:41 BST 2018


On Tue, 17 Apr 2018 16:16:49 +0200 Markus Koschany wrote:
> I've fixed the original errors in Javac.java but there are more later on
> due to our friend OpenPain 9. I had no choice but to upgrade to a newer
> lombok version. Now I'm stuck because ecj can't be found.

Upstream has fixed the Java 9 issues in the version 1.6.22. I've managed
to build it with some tweaks. It turns out the problematic code in
Javac.java is only required to support the long gone JDK 6 & 7, so I
simply removed it. Other parts of the code still have to be built
against the JDK 8 API though. So despite default-jdk can be used to
build the package, the dependency on openjdk-8-jdk has to be retained
(the build adds rt.jar to the bootclasspath when compiling some classes).

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list