File: 03_java8_compatibility.patch

package info (click to toggle)
commons-math 2.2-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,808 kB
  • sloc: java: 97,398; xml: 6,776; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);