You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2007/01/31 18:26:05 UTC

[jira] Created: (QPID-334) WeakReferenceMessageHandle uses a singleton so when body is purged by gc it cannot be reset

WeakReferenceMessageHandle uses a singleton so when body is purged by gc it cannot be reset
-------------------------------------------------------------------------------------------

                 Key: QPID-334
                 URL: https://issues.apache.org/jira/browse/QPID-334
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Martin Ritchie
         Assigned To: Martin Ritchie


in addContentBodyFrame if there is only one content body a singleton was created this resulted in a OperationNotSupportedException if the _contentBodies was purged by the GC. Changed to use an ArrayList of size 1.

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


[jira] Resolved: (QPID-334) WeakReferenceMessageHandle uses a singleton so when body is purged by gc it cannot be reset

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

Martin Ritchie resolved QPID-334.
---------------------------------

    Resolution: Fixed

Completed: At revision: 501914  


> WeakReferenceMessageHandle uses a singleton so when body is purged by gc it cannot be reset
> -------------------------------------------------------------------------------------------
>
>                 Key: QPID-334
>                 URL: https://issues.apache.org/jira/browse/QPID-334
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>         Assigned To: Martin Ritchie
>
> in addContentBodyFrame if there is only one content body a singleton was created this resulted in a OperationNotSupportedException if the _contentBodies was purged by the GC. Changed to use an ArrayList of size 1.

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