[beansbinding] 04/07: Fix FTBFS with Java 9.
Markus Koschany
apo at moszumanska.debian.org
Fri Mar 23 14:13:03 GMT 2018
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository beansbinding.
commit 74f43034ee128fae7bde99a0788247e019e8f5e2
Author: Markus Koschany <apo at debian.org>
Date: Fri Mar 23 14:52:50 2018 +0100
Fix FTBFS with Java 9.
Closes: #893100
---
debian/patches/java9.patch | 48 ++++++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 49 insertions(+)
diff --git a/debian/patches/java9.patch b/debian/patches/java9.patch
new file mode 100644
index 0000000..a12a2a1
--- /dev/null
+++ b/debian/patches/java9.patch
@@ -0,0 +1,48 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 23 Mar 2018 14:52:39 +0100
+Subject: java9
+
+Fix FTBFS with Java 9. Use source/target 1.7 at least.
+
+Bug-Debian: https://bugs.debian.org/893100
+Forwarded: no
+---
+ nbproject/build-impl.xml | 4 ++--
+ nbproject/project.properties | 6 +++---
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml
+index b0d6bbe..42850a6 100644
+--- a/nbproject/build-impl.xml
++++ b/nbproject/build-impl.xml
+@@ -37,8 +37,8 @@ is divided into following sections:
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+- <property name="default.javac.source" value="1.4"/>
+- <property name="default.javac.target" value="1.4"/>
++ <property name="default.javac.source" value="1.7"/>
++ <property name="default.javac.target" value="1.7"/>
+ </target>
+ <target name="-init-project" depends="-pre-init,-init-private,-init-user">
+ <property file="nbproject/project.properties"/>
+diff --git a/nbproject/project.properties b/nbproject/project.properties
+index c6490ad..3408cff 100644
+--- a/nbproject/project.properties
++++ b/nbproject/project.properties
+@@ -19,12 +19,12 @@ dist.javadoc.dir=${dist.dir}/javadoc
+ file.reference.el.jar=lib/el.jar
+ jar.compress=false
+ javac.classpath=
+-javac.compilerargs=-target 1.5
++javac.compilerargs=-target 1.7
+ # Space-separated list of extra javac options
+ #javac.compilerargs=-Xlint:unchecked
+ javac.deprecation=false
+-javac.source=1.5
+-javac.target=1.5
++javac.source=1.7
++javac.target=1.7
+ javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4d2c86f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+java9.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/beansbinding.git
More information about the pkg-java-commits
mailing list