openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Ezzio (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-237) Value.setAliases does not copy alias strings
Date Mon, 07 May 2007 23:13:15 GMT

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

David Ezzio updated OPENJPA-237:
--------------------------------

    Attachment: Value.diff

SVN diff for the change required, plus a test case.

> Value.setAliases does not copy alias strings
> --------------------------------------------
>
>                 Key: OPENJPA-237
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-237
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: lib
>    Affects Versions: 0.9.7
>            Reporter: David Ezzio
>         Attachments: Value.diff
>
>
> The org.apache.openjpa.lib.conf.Value.setAliases method does not copy the array of strings
passed as a parameter.  As a result, later operations on the Value object's aliases can change
the array that the caller is using.  This method should be pass by value rather than by reference
-- in other words, the method should copy the array.

-- 
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