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.

Reply via email to