[pkg-java] r18153 - in trunk/commons-math/debian: . patches
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri May 16 08:50:22 UTC 2014
Author: ebourg-guest
Date: 2014-05-16 08:50:22 +0000 (Fri, 16 May 2014)
New Revision: 18153
Added:
trunk/commons-math/debian/patches/03_java8_compatibility.patch
Modified:
trunk/commons-math/debian/changelog
trunk/commons-math/debian/patches/series
Log:
Ignore the checkMissingFastMathClasses test that fails with Java 8
Modified: trunk/commons-math/debian/changelog
===================================================================
--- trunk/commons-math/debian/changelog 2014-05-16 06:56:06 UTC (rev 18152)
+++ trunk/commons-math/debian/changelog 2014-05-16 08:50:22 UTC (rev 18153)
@@ -1,5 +1,6 @@
-commons-math (2.2-4) UNRELEASED; urgency=medium
+commons-math (2.2-4) unstable; urgency=medium
+ * Ignore the checkMissingFastMathClasses test that fails with Java 8
* Updated Standards-Version to 3.9.5 (no changes)
* Switch to debhelper level 9
* debian/copyright: Updated the Format URI
Added: trunk/commons-math/debian/patches/03_java8_compatibility.patch
===================================================================
--- trunk/commons-math/debian/patches/03_java8_compatibility.patch (rev 0)
+++ trunk/commons-math/debian/patches/03_java8_compatibility.patch 2014-05-16 08:50:22 UTC (rev 18153)
@@ -0,0 +1,14 @@
+Description: Fixes a test failure with Java 8. The Math class gained several
+ methods in Java 8, this causes the test checking for missing methods in the
+ FastMath class to fail.
+Origin: upstream, http://svn.apache.org/r1593134
+--- a/src/test/java/org/apache/commons/math/util/FastMathTest.java
++++ b/src/test/java/org/apache/commons/math/util/FastMathTest.java
+@@ -1104,6 +1104,7 @@
+ }
+
+ @Test
++ @Ignore
+ public void checkMissingFastMathClasses() {
+ boolean ok = compareClassMethods(StrictMath.class, FastMath.class);
+ Assert.assertTrue("FastMath should implement all StrictMath methods", ok);
Modified: trunk/commons-math/debian/patches/series
===================================================================
--- trunk/commons-math/debian/patches/series 2014-05-16 06:56:06 UTC (rev 18152)
+++ trunk/commons-math/debian/patches/series 2014-05-16 08:50:22 UTC (rev 18153)
@@ -1 +1,2 @@
02_no_tests_on_build.diff
+03_java8_compatibility.patch
More information about the pkg-java-commits
mailing list