You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2014/05/21 00:38:38 UTC
[jira] [Created] (TRINIDAD-2474) AutoSubmitUtils and XhtmlUtils can
cause a thread deadlock
Andrew Robinson created TRINIDAD-2474:
-----------------------------------------
Summary: AutoSubmitUtils and XhtmlUtils can cause a thread deadlock
Key: TRINIDAD-2474
URL: https://issues.apache.org/jira/browse/TRINIDAD-2474
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 2.1.0-core
Reporter: Andrew Robinson
AutoSubmitUtils calls XhtmlScriptletFactory.registerAllScriptlets which in tern uses XhtmlUtils which has a static initializer that calls XhtmlScriptletFactory.registerAllScriptlets. If another thread uses XhtmlUtils, that initialization will wait on the AutoSubmitUtils which is waiting to use XhtmlUtils, deadlocking the threads.
--
This message was sent by Atlassian JIRA
(v6.2#6252)