[jboss-osgi-issues] [JBoss JIRA] Work started: (JBOSGI-452) ConcurrentModificationException in BundleManager.getBundles()
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Thu May 19 05:20:00 EDT 2011
[ https://issues.jboss.org/browse/JBOSGI-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on JBOSGI-452 started by Thomas Diesler.
> ConcurrentModificationException in BundleManager.getBundles()
> -------------------------------------------------------------
>
> Key: JBOSGI-452
> URL: https://issues.jboss.org/browse/JBOSGI-452
> Project: JBoss OSGi
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Stuart Douglas
> Assignee: Thomas Diesler
> Fix For: JBossOSGi 1.0.0
>
>
> I observed a ConcurrentModificationException while running the integration tests in AS7. Unfortunately I lost the stack trace, but the cause is that iterators of maps that have been wrapped via Collections.synchronizedMap() are not thread safe, so if a bundle is added while getBundles is iterating a ConcurrentModificationException may result.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-osgi-issues
mailing list