Eduardo Breijo created MYFACES-4049:
---------------------------------------

             Summary: JSF myfaces unsynchronized access to a WeakHashMap 
                 Key: MYFACES-4049
                 URL: https://issues.apache.org/jira/browse/MYFACES-4049
             Project: MyFaces Core
          Issue Type: Bug
            Reporter: Eduardo Breijo


WebContainer threads are hanging due to a thread safety issue in the underlying 
JSF 2.0 code. A non thread-safe WeakHashMap is being used in the 
getRelativePath method of the DefaultFacelet class. Apache JSF 2.0 code is not 
synchronizing on their usage of WeakHashMap in
org.apache.myfaces.view.facelets.impl.DefaultFacelet.getRelativePath. 

In order to make the code thread-safe Collections.synchronizedMap method needs 
to be used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to