osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Commented] (ARIES-1840) ConcurrentModificationException in org.apache.aries.rsa.topologymanager.importer.TopologyManagerImport.importServices


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

ASF subversion and git services commented on ARIES-1840:
--------------------------------------------------------

Commit 927d0b39635c6246111781c970bf38e5aa3d30db in aries-rsa's branch refs/heads/master from [~chris@xxxxxxxxxxxxxxxxx]
[ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=927d0b3 ]

ARIES-1840 - Use ConcurrentHashMap to avoid ConcurrentModificationException


> ConcurrentModificationException in org.apache.aries.rsa.topologymanager.importer.TopologyManagerImport.importServices
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1840
>                 URL: https://issues.apache.org/jira/browse/ARIES-1840
>             Project: Aries
>          Issue Type: Test
>          Components: Remote Service Admin
>    Affects Versions: rsa-1.12.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: rsa-1.13.0
>
>
> In org.apache.aries.rsa.topologymanager.importer.TopologyManagerImport.importServices
> we iterate through importPossibilities which is MultiMap. As this map is access by more than one thread we must use a ConcurrentHashMap.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)