[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-9072) ConcurrentModificationException in CDI model when iterating types returned by method getLegalTypes()

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Thu Jun 16 06:13:23 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Jungmann closed JBIDE-9072.
---------------------------------



per last comment

> ConcurrentModificationException in CDI model when iterating types returned by method getLegalTypes()
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9072
>                 URL: https://issues.jboss.org/browse/JBIDE-9072
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.3.0.M1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M2
>
>
> java.util.ConcurrentModificationException
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
> 	at java.util.HashMap$KeyIterator.next(HashMap.java:845)
> 	at
> org.jboss.tools.cdi.internal.core.impl.CDIProject.containsType(CDIProject.java:405)
> 	at
> org.jboss.tools.cdi.internal.core.impl.CDIProject.getBeans(CDIProject.java:369)
> 	at
> org.jboss.tools.cdi.core.test.WeldJarTest.testWeldJar(WeldJarTest.java:45)
> The cause is unsafe code in ParametedType.getAllTypes().
> Reproducibility in JBDS must be very low.
> Automated test is needed that uses getAllTypes() very hard from many threads.

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

        


More information about the jbosstools-issues mailing list