commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CHAIN-52) ContextBase subclasses, when cloned, end up with local property entries in the HashMap
Date Thu, 04 Jul 2013 19:27:49 GMT

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

Benedikt Ritter updated CHAIN-52:
---------------------------------

    Component/s: Base
    
> 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
>          Components: Base
>    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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message