myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2474) AutoSubmitUtils and XhtmlUtils can cause a thread deadlock
Date Tue, 20 May 2014 22:38:38 GMT
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)

Mime
View raw message