[junit] 35/37: Fixed the build failure with Java 9 (Closes: #873986)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 22:17:04 UTC 2017


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

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

commit a3ae949850cf908bb26656604eb1a387c3274dc9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Oct 24 23:50:42 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index c97fc72..1b5821a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 junit (3.8.2-9) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Fixed the build failure with Java 9 (Closes: #873986)
   * Removed Michael Koch from the uploaders (Closes: #654041)
   * No longer attempt to install the javadoc jar
   * Moved the package to Git
diff --git a/debian/control b/debian/control
index 3aa638a..89f2416 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Homepage: http://www.junit.org
 Package: junit
 Architecture: all
 Depends: ${misc:Depends}
-Recommends: default-jre (>= 1.4) | default-jre-headless (>= 1.4) | java2-runtime | java2-runtime-headless
+Recommends: default-jre-headless (>= 1:1.7) | java7-runtime-headless
 Suggests: junit-doc
 Enhances: ant-optional
 Description: Automated testing framework for Java
diff --git a/debian/rules b/debian/rules
index 1ba9303..2415d69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	mkdir -p classes
-	(cd src;${JAVAC} -source 1.4 -target 1.4 -classpath ${CLASSPATH} -d ../classes junit/*/*.java)
+	(cd src;${JAVAC} -source 1.7 -target 1.7 -classpath ${CLASSPATH} -d ../classes junit/*/*.java)
 	cp -r src/junit/swingui/icons classes/junit/swingui
 	cp src/junit/runner/*.gif classes/junit/runner
 	cp src/junit/runner/excluded.properties classes/junit/runner

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



More information about the pkg-java-commits mailing list