[jboss-osgi-issues] [JBoss JIRA] Updated: (JBOSGI-452) ConcurrentModificationException in BundleManager.getBundles()
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Jul 25 05:12:24 EDT 2011
[ https://issues.jboss.org/browse/JBOSGI-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler updated JBOSGI-452:
----------------------------------
Fix Version/s: Core Framework 1.0.0
(was: JBossOSGi 1.0.0 CR1)
> 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: Core Framework 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