You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <qp...@incubator.apache.org> on 2010/02/08 21:47:28 UTC

[jira] Created: (QPID-2396) Add assignment operator methods for objects with "impl" pointers

Add assignment operator methods for objects with "impl" pointers
----------------------------------------------------------------

                 Key: QPID-2396
                 URL: https://issues.apache.org/jira/browse/QPID-2396
             Project: Qpid
          Issue Type: Bug
          Components: Qpid Managment Framework
            Reporter: Ken Giusti


class ObjectId has an private impl pointer.  When used as an argument to an assignment, the impl pointer is incorrectly set by the default memberwise assignment method.  This causes two ObjectIds to incorrectly share the same impl instance.   This may be the case for other objects that use this impl pattern - the code should be audited.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-2396) Add assignment operator methods for objects with "impl" pointers

Posted by "Ken Giusti (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti reassigned QPID-2396:
--------------------------------

    Assignee: Ken Giusti

> Add assignment operator methods for objects with "impl" pointers
> ----------------------------------------------------------------
>
>                 Key: QPID-2396
>                 URL: https://issues.apache.org/jira/browse/QPID-2396
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>
> class ObjectId has an private impl pointer.  When used as an argument to an assignment, the impl pointer is incorrectly set by the default memberwise assignment method.  This causes two ObjectIds to incorrectly share the same impl instance.   This may be the case for other objects that use this impl pattern - the code should be audited.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org