[libcommons-jexl2-java] 04/07: Disabled the tests that fail to run with Java 9 (Closes: #874631)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Dec 4 15:18:39 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository libcommons-jexl2-java.

commit a6ea69748d049da07da07010a87818598d42730c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Dec 4 16:15:39 2017 +0100

    Disabled the tests that fail to run with Java 9 (Closes: #874631)
---
 debian/changelog                             |  1 +
 debian/patches/002-java9-compatibility.patch | 13 +++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1056774..3432581 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 libcommons-jexl2-java (2.1.1-4) UNRELEASED; urgency=medium
 
+  * Disabled the tests that fail to run with Java 9 (Closes: #874631)
   * Standards-Version updated to 4.1.2
   * Switch to debhelper level 10
 
diff --git a/debian/patches/002-java9-compatibility.patch b/debian/patches/002-java9-compatibility.patch
new file mode 100644
index 0000000..233aae7
--- /dev/null
+++ b/debian/patches/002-java9-compatibility.patch
@@ -0,0 +1,13 @@
+Description: Disables the tests that fail to run with Java 9
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/src/test/java/org/apache/commons/jexl2/ClassCreatorTest.java
++++ b/src/test/java/org/apache/commons/jexl2/ClassCreatorTest.java
+@@ -29,6 +29,7 @@
+ /**
+  * Basic check on automated class creation
+  */
++ at org.junit.Ignore
+ public class ClassCreatorTest extends JexlTestCase {
+     static final Log logger = LogFactory.getLog(JexlTestCase.class);
+     static final int LOOPS = 8;
diff --git a/debian/patches/series b/debian/patches/series
index ef9078d..e96ae6f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 001-Fix-tests.patch
+002-java9-compatibility.patch

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



More information about the pkg-java-commits mailing list