commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin John Bartlett (JIRA)" <j...@apache.org>
Subject [jira] Created: (CHAIN-52) ContextBase subclasses, when cloned, end up with local property entries in the HashMap
Date Mon, 20 Sep 2010 13:27:32 GMT
ContextBase subclasses, when cloned, end up with local property entries in the HashMap
--------------------------------------------------------------------------------------

                 Key: CHAIN-52
                 URL: https://issues.apache.org/jira/browse/CHAIN-52
             Project: Commons Chain
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: All OS's, JDK 6
            Reporter: Martin John Bartlett


When a context class is created based on ContextBase, an instance of that created, then the
local properties populated, then the instance cloned, each local property ends up in the HashMap.
As with other methods from HashMap overridden in ContextBase, clone should overridden to prevent
local properties being written to the HashMap.

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