[junit4] 01/03: Fixed the build failure with Java 9 (Closes: #875590)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 23 21:49:29 UTC 2017


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

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

commit d34a6a69317d622da7cbb70d4c899ed78f2259ad
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Nov 23 22:47:00 2017 +0100

    Fixed the build failure with Java 9 (Closes: #875590)
---
 debian/changelog                         |  7 +++++++
 debian/patches/java9-compatibility.patch | 13 +++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e4a0072..602396e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+junit4 (4.12-6) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with Java 9 (Closes: #875590)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 23 Nov 2017 22:46:19 +0100
+
 junit4 (4.12-5) unstable; urgency=medium
 
   * Removed the build dependency on libmaven-enforcer-plugin-java
diff --git a/debian/patches/java9-compatibility.patch b/debian/patches/java9-compatibility.patch
new file mode 100644
index 0000000..c905ee2
--- /dev/null
+++ b/debian/patches/java9-compatibility.patch
@@ -0,0 +1,13 @@
+Description: Fixes the errors with Java 9
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/src/test/java/org/junit/runners/model/TestClassTest.java
++++ b/src/test/java/org/junit/runners/model/TestClassTest.java
+@@ -136,6 +136,7 @@
+     }
+ 
+     @Test
++    @Ignore("java.lang.Object methods are annotated since Java 9 and this test fails")
+     public void providesAnnotatedMethodsSortedByName() {
+     	TestClass tc = new TestClass(MethodsAnnotated.class);
+     	List<FrameworkMethod> annotatedMethods = tc.getAnnotatedMethods();
diff --git a/debian/patches/series b/debian/patches/series
index f4a23f0..2d7ec95 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 exclude-dependency-sources.patch
 Version.java.patch
 privacy-breach-logo.patch
+java9-compatibility.patch

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



More information about the pkg-java-commits mailing list