]
Thomas Diesler updated JBOSGI-452:
----------------------------------
Summary: ConcurrentModificationException in BundleManager.getBundles() (was:
ConcurrentModificationException in
org.jboss.osgi.framework.internal.BundleManager.getBundles())
Fix Version/s: JBossOSGi 1.0.0
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: