Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1156

mvn tests fail if JDK 8 is used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Labels:
      None
    • Environment:

      Linux Debian Jessie, openJDK 8

      Description

      Despite the fact the pom.xml specifies Java version to be 1.5, some tests for FastMath use reflection to verify that FastMath implements all methods found in StrictMath. As the class available in a Java 8 environment has newer methods, and these methods are not available in FastMath, the test fail and maven refuses to build the artifacts.

      The missing methods should be added, just as the new methods were added when Java 6 was relesed.

        Attachments

          Activity

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              luc Luc Maisonobe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: