[mina] 24/26: Fixed the build failure with Java 9 (Closes: #893376)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 22 20:27:04 GMT 2018


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

ebourg-guest pushed a commit to branch master
in repository mina.

commit ae0124b2ab38894ac268213688a6e1f2dab1cec7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Mar 22 21:23:07 2018 +0100

    Fixed the build failure with Java 9 (Closes: #893376)
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index be6bfad..4b53bc8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 mina (1.1.7.dfsg-12) UNRELEASED; urgency=medium
 
+  * Fixed the build failure with Java 9 (Closes: #893376)
   * Moved the package to Git
   * Standards-Version updated to 4.1.3
 
diff --git a/debian/rules b/debian/rules
index fac8f6d..533e91c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,8 @@ JAVA_HOME := /usr/lib/jvm/default-java
 # We need to export JAVA_HOME for jh_build
 export JAVA_HOME
 
-# Force compilation of 1.5 .class format
-JAVA_OPTS := -source 1.5 -target 1.5
+# Force compilation of 1.7 .class format
+JAVA_OPTS := -source 1.7 -target 1.7
 
 CORE_JAR  := $(PACKAGE)-core.jar
 CORE_SRC  := core/src/main/java/

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



More information about the pkg-java-commits mailing list