You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/15 16:38:34 UTC

[jira] [Commented] (PROTON-685) calling free() on session with multiple Sender or Receiver links leads to ConcurrentModificationException

    [ https://issues.apache.org/jira/browse/PROTON-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133958#comment-14133958 ] 

ASF subversion and git services commented on PROTON-685:
--------------------------------------------------------

Commit 1625043 from [~gemmellr] in branch 'proton/trunk'
[ https://svn.apache.org/r1625043 ]

PROTON-685: iterate on a copy of the values to prevent CME after the child free() calls  modifies the map

> calling free() on session with multiple Sender or Receiver links leads to ConcurrentModificationException
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-685
>                 URL: https://issues.apache.org/jira/browse/PROTON-685
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>             Fix For: 0.8
>
>
> If a session (/parent connection) has free() called on it with multiple Sender or Receiver links then a ConcurrentModificationException is thrown during the process due to modifying a map whilst iterating its values.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)