curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-131) Should not modify collection while iterating over it
Date Mon, 11 Aug 2014 06:02:12 GMT

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

ASF GitHub Bot commented on CURATOR-131:
----------------------------------------

Github user cammckenzie commented on the pull request:

    https://github.com/apache/curator/pull/29#issuecomment-51744543
  
    Looks good to me.


> Should not modify collection while iterating over it
> ----------------------------------------------------
>
>                 Key: CURATOR-131
>                 URL: https://issues.apache.org/jira/browse/CURATOR-131
>             Project: Apache Curator
>          Issue Type: Bug
>            Reporter: Mike Drob
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> A couple of places in the code attempt to remove elements from a map while iterating
over it, but without using the iterator. This can lead to undefined behaviour including skipping
elements, repeating elements, or ConcurrentModificationException thrown.
> Static analysis tools can help spot these locations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message