Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-52

ContextBase subclasses, when cloned, end up with local property entries in the HashMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1
    • None
    • Base
    • None
    • All OS's, JDK 6

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bassmanitram Martin John Bartlett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: