[JBoss JIRA] (JBIDE-15367) JBoss Knowledge Base Builder hangs up
by Viacheslav Kabanovich (JIRA)
Viacheslav Kabanovich created JBIDE-15367:
---------------------------------------------
Summary: JBoss Knowledge Base Builder hangs up
Key: JBIDE-15367
URL: https://issues.jboss.org/browse/JBIDE-15367
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.2.0.Alpha1
https://community.jboss.org/message/833488
The cause is thread unsafe code in org.jboss.tools.jsf.jsf2.bean.model.impl.DefinitionContext. When one thread reads from HashSet while another modifies it, sometimes reading slips into eternal cycle. That is a feature of implementation of java.util.HashSet, and the only way to avoid it is to provide thread safety. I will open an issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira