File: remove-j9stub.patch

package info (click to toggle)
lombok 1.18.42-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,704 kB
  • sloc: java: 98,970; xml: 3,314; sh: 63; ansic: 16; makefile: 10
file content (31 lines) | stat: -rw-r--r-- 1,086 bytes parent folder | download | duplicates (3)
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
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(-)

--- a/buildScripts/mapstructBinding.ant.xml
+++ b/buildScripts/mapstructBinding.ant.xml
@@ -28,9 +28,6 @@
 	
 	<target name="-mapstructBinding.compile" depends="-setup.build">
 		<mkdir dir="build/mapstruct" />
-		<javac includeAntRuntime="false" source="1.8" target="1.8" destdir="build/mapstruct">
-			<src path="src/j9stubs" />
-		</javac>
 	</target>
 	
 	<target name="-mapstructBinding.prepare" depends="-mapstructBinding.compile">