[uddi4j] 10/13: Add java9.patch and fix FTBFS with Java 9.

Markus Koschany apo at moszumanska.debian.org
Fri Dec 22 13:47:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository uddi4j.

commit ad322f6647b80372bc3ed28ebd077bbc52689103
Author: Markus Koschany <apo at debian.org>
Date:   Fri Dec 22 00:32:38 2017 +0100

    Add java9.patch and fix FTBFS with Java 9.
    
    Closes: #874129
    Thanks: Chris West for the report.
---
 debian/patches/java9.patch | 25 +++++++++++++++++++++++++
 debian/patches/series      |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/java9.patch b/debian/patches/java9.patch
new file mode 100644
index 0000000..0cf9196
--- /dev/null
+++ b/debian/patches/java9.patch
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 22 Dec 2017 00:32:10 +0100
+Subject: java9
+
+Fix FTBFS with Java 9 by adding the java.xml.ws module explicitly.
+How to fix similar issues: Search for the (apparently) missing class in the
+Java 9 javadocs. The module name is in the top left corner.
+
+Forwarded: no
+---
+ build.xml | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/build.xml b/build.xml
+index 9a89aef..6f167ae 100644
+--- a/build.xml
++++ b/build.xml
+@@ -161,6 +161,7 @@ Authors:
+       <exclude name="org/uddi4j/transport/ApacheAxisTransport.java" unless="apache-axis.available"/>
+       <exclude name="org/uddi4j/transport/ApacheSOAPTransport.java" unless="apache-soap.available"/>
+       <exclude name="org/uddi4j/transport/HPSOAPTransport.java" unless="hp-soap.available"/>
++      <compilerarg line="--add-modules java.xml.ws"/>
+     </javac>
+     <mkdir dir="${build.lib}"/>
+     <tstamp>
diff --git a/debian/patches/series b/debian/patches/series
index 0f3e74f..688598d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 build.xml-encoding.patch
+java9.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/uddi4j.git



More information about the pkg-java-commits mailing list