[
https://issues.apache.org/jira/browse/TRINIDAD-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Robinson resolved TRINIDAD-2474.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1-core
Assignee: Andrew Robinson
Remove the redundant call to XhtmlScriptletFactory.registerAllScriptlets in
AutoSubmitUtils. This will prevent the thread deadlock issue by ensuring that
only XhtmlUtils calls XhtmlScriptletFactory.registerAllScriptlets
Committed revision 1596427.
> 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
> Assignee: Andrew Robinson
> Fix For: 2.1.1-core
>
>
> 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)