[lintian] 01/01: t: Use java 1.7 as 1.4 is no longer supported
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit f5becabdd8b223609fe360902411d8a321612d77
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jun 20 08:27:21 2015 +0200
t: Use java 1.7 as 1.4 is no longer supported
This will /not/ fix the test as jh_build from javatools/0.51 has a bug
that breaks the build when it compiles javadoc. This is filed #789350.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
t/tests/java-class-format/debian/debian/rules | 2 +-
t/tests/java-classpath/debian/debian/rules | 2 +-
t/tests/java-jars/debian/debian/rules | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/tests/java-class-format/debian/debian/rules b/t/tests/java-class-format/debian/debian/rules
index 780f554..a09ed09 100755
--- a/t/tests/java-class-format/debian/debian/rules
+++ b/t/tests/java-class-format/debian/debian/rules
@@ -3,7 +3,7 @@
dh $@ --with javahelper
override_jh_build:
- jh_build --javacopts='-target 1.4' --javacopts='-source 1.4'
+ jh_build --javacopts='-target 1.7' --javacopts='-source 1.7'
unzip test.jar
# Unknown class version
perl -i -pe 's/^(\xCA\xFE\xBA\xBE...)./$$1\x2A/' org/debian/lintian/TestA.class
diff --git a/t/tests/java-classpath/debian/debian/rules b/t/tests/java-classpath/debian/debian/rules
index 1d7125d..df7aa48 100755
--- a/t/tests/java-classpath/debian/debian/rules
+++ b/t/tests/java-classpath/debian/debian/rules
@@ -4,5 +4,5 @@
dh $@ --with javahelper
override_jh_build:
- jh_build --javacopts='-target 1.4' --javacopts='-source 1.4'
+ jh_build --javacopts='-target 1.7' --javacopts='-source 1.7'
cp cp-missing.jar cp-missing-2.jar
diff --git a/t/tests/java-jars/debian/debian/rules b/t/tests/java-jars/debian/debian/rules
index a1c4a54..b4951f9 100755
--- a/t/tests/java-jars/debian/debian/rules
+++ b/t/tests/java-jars/debian/debian/rules
@@ -3,7 +3,7 @@
dh $@ --with javahelper
override_jh_build:
- jh_build --javacopts='-target 1.4' --javacopts='-source 1.4'
+ jh_build --javacopts='-target 1.7' --javacopts='-source 1.7'
cp testa.jar testb.jar
unzip testa.jar
zip -r codeless.jar META-INF/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: