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] [Resolved] (MATH-1188) BesselJ java contains non-Java5 code.
Date Thu, 08 Jan 2015 16:14:34 GMT

     [ https://issues.apache.org/jira/browse/MATH-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luc Maisonobe resolved MATH-1188.
---------------------------------
    Resolution: Fixed

Issue has been identified and fixed by Sebb.

The fix is on commit 6a82f92.

> 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