commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1188) BesselJ java contains non-Java5 code.
Date Thu, 08 Jan 2015 16:13:34 GMT
Luc Maisonobe created MATH-1188:
-----------------------------------

             Summary: BesselJ java contains non-Java5 code.
                 Key: MATH-1188
                 URL: https://issues.apache.org/jira/browse/MATH-1188
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.4
            Reporter: Luc Maisonobe
             Fix For: 3.4.1


The class uses Arrays.copyOf, which is only available in Java 1.6+.

Apache Commons Math currently targets 1.5, so this method should not be used. MathArrays.copyOf
should be used instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message