[ https://issues.apache.org/jira/browse/OPENJPA-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marc Prud'hommeaux resolved OPENJPA-237. ---------------------------------------- Resolution: Fixed Fix Version/s: 0.9.8 Committed patch. > 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 > Fix For: 0.9.8 > > 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.