commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COLLECTIONS-330) ConcurrentModificationException using remove from the keySet the LRUMap
Date Sun, 15 Jul 2012 11:23:34 GMT

     [ https://issues.apache.org/jira/browse/COLLECTIONS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Neidhart updated COLLECTIONS-330:
----------------------------------------

    Fix Version/s:     (was: 4.0-beta-1)
                   4.0
    
> ConcurrentModificationException using remove from the keySet the LRUMap
> -----------------------------------------------------------------------
>
>                 Key: COLLECTIONS-330
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-330
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Collection
>            Reporter: Joerg Schaible
>             Fix For: 4.0
>
>
> Even if the access to a LRUMap is synced and the remove method of the iterator is used
that has been returned from the keySet of the LRUMap, it is possible to get a ConcurrentModificationException.
This does not happen for remove of the iterators returned by the entrySet or values of the
LRUMap. See currently not executed unit test in TestLRUMap (marked as TODO for COLLECTION-3).

--
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

        

Mime
View raw message