You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/29 19:42:27 UTC

[jira] [Commented] (ARTEMIS-289) Potential ConcurrentModificationException when closing connections

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

ASF GitHub Bot commented on ARTEMIS-289:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/224

    ARTEMIS-289 potential ConcurrentModificationException

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis master_work

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/224.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #224
    
----
commit 43b421a5884280900f6bae740c07a1eee8736f1e
Author: jbertram <jb...@apache.org>
Date:   2015-10-29T18:41:08Z

    ARTEMIS-289 potential ConcurrentModificationException

----


> Potential ConcurrentModificationException when closing connections
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-289
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-289
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>             Fix For: 1.1.1
>
>
> org.apache.activemq.artemis.core.server.impl.QueueImpl#getConsumers returns the actual Set of consumers, but if another thread modifies this collection while the caller loops through the Set then a ConcurrentModificationException will be thrown.



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