commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-424) MultiDimensionMismatchException.getWrongDimensions() fails to clone the array
Date Fri, 01 Oct 2010 18:12:34 GMT

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

Gilles resolved MATH-424.
-------------------------

    Resolution: Fixed

Resolved as suggested (revision 1003606).


> MultiDimensionMismatchException.getWrongDimensions() fails to clone the array
> -----------------------------------------------------------------------------
>
>                 Key: MATH-424
>                 URL: https://issues.apache.org/jira/browse/MATH-424
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Sebb
>            Assignee: Gilles
>
> MultiDimensionMismatchException.getWrongDimensions() returns a pointer to the array,
which allows callers to modify it.
> The constructor takes care to clone the input array, so presumably the getter should
do so too?
> Same applies to getExpectedDimensions()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message