You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2011/08/29 17:24:37 UTC
[jira] [Resolved] (ARIES-738) [subsystems] The subsystem resolver
hook modifies a collection it's iterating over.
[ 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