1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Markus Koschany <apo@debian.org>
Date: Wed, 3 Oct 2018 16:49:47 +0200
Subject: remove j9stub
Apparently the Java 9 stub file is not needed because we use OpenJDK8?
Fix a FTBFS due to
/build/lombok-1.16.22/src/j9stubs/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.java:21: error:
package javax.lang.model.type is not visible
[ivy:compile] import javax.lang.model.type.TypeMirror;
[ivy:compile] ^
[ivy:compile] (package javax.lang.model.type is declared in module java.compiler, but module
org.objectweb.asm does not read it)
Forwarded: no
---
build.xml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/build.xml b/build.xml
index 15e1d9c..c7531c0 100644
--- a/build.xml
+++ b/build.xml
@@ -267,10 +267,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<compilerarg value="-Xlint:none" />
<!-- The above is because javac9 warns about 'service interface provided but not exported or used', probably because lombok uses SPI internally, and uses the 'old' classpath discovery system for it. We're fine with this, hence, ignore this warning. -->
<src path="src/core9" />
- <src path="src/j9stubs" />
- <!-- This includes org.mapstruct.ap.spi.AstModifyingAnnotationProcessor; putting this on the classpath doesn't work (needs to be internal or a module) so we just add it and then delete the class file for convenience. -->
</ivy:compile>
- <delete file="build/lombok/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.class" />
<ivy:compile destdir="build/lombok/Class50" source="1.5" target="1.6" ecj="true" nowarn="true" includeSystemBootclasspath="true">
<bootclasspath location="build/stubs" />
|