You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Blake Sullivan (JIRA)" <de...@myfaces.apache.org> on 2009/02/18 23:10:01 UTC

[jira] Created: (TRINIDAD-1403) CachingResourceLoader uses unsynchronized Map for maintaining cache but accesses Map from multiple threads

CachingResourceLoader uses unsynchronized Map for maintaining cache but accesses Map from multiple threads
----------------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-1403
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1403
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.10-core, 1.2.10-core
            Reporter: Blake Sullivan


CachingResourceLoader uses unsynchronized Map for maintaining cache but accesses Map from multiple threads.  This can result in corruption of the Map.  The fix is to use a ConcurrentHashMap


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1403) CachingResourceLoader uses unsynchronized Map for maintaining cache but accesses Map from multiple threads

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-1403.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.12-core
                    1.0.11-core
         Assignee: Matthias Weßendorf

> CachingResourceLoader uses unsynchronized Map for maintaining cache but accesses Map from multiple threads
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1403
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1403
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.10-core, 1.0.10-core
>            Reporter: Blake Sullivan
>            Assignee: Matthias Weßendorf
>             Fix For:  1.0.11-core,  1.2.12-core
>
>         Attachments: TRINIDAD-1403.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> CachingResourceLoader uses unsynchronized Map for maintaining cache but accesses Map from multiple threads.  This can result in corruption of the Map.  The fix is to use a ConcurrentHashMap

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.