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] Created: (OPENJPA-237) Value.setAliases does not copy alias strings
Date Mon, 07 May 2007 23:11:15 GMT
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


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