qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-3694) .NET binding classes do not throw ObjectDisposedException
Date Fri, 16 Dec 2011 19:52:31 GMT
.NET binding classes do not throw ObjectDisposedException

                 Key: QPID-3694
                 URL: https://issues.apache.org/jira/browse/QPID-3694
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: 0.14
         Environment: Windows .NET binding
            Reporter: Chuck Rolke
            Assignee: Chuck Rolke
             Fix For: 0.15

The .NET binding uses 'ref class' object. Many instances of an object may refer to the same
underlying object. If any one of them calls dispose() on the object then the other instances
are unusable. Dereferencing a NULL pointer in the binding produces an exception outside of
.NET that is hard to diagnose. A better solution throws an ObjectDisposedException that pinpoints
the error in managed code space.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

View raw message