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

John Ross resolved ARIES-738.
-----------------------------

    Resolution: Fixed

Changed the for:each loop into a for loop using an Iterator. The 
Iterator.remove method is then used to remove candidates when necessary.

> [subsystems] The subsystem resolver hook modifies a collection it's iterating 
> over.
> -----------------------------------------------------------------------------------
>
>                 Key: ARIES-738
>                 URL: https://issues.apache.org/jira/browse/ARIES-738
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>            Reporter: John Ross
>            Assignee: John Ross
>
> The SubsystemResolverHook is used to prevent the resolution of content 
> bundles within an isolated subsystem. Within the filterResolvable method, it 
> modifies the candidate collection (candidates.remove) while iterating via a 
> for:each loop which causes a ConcurrentModificationException.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to