You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2008/11/07 09:08:45 UTC

[jira] Resolved: (TRINIDAD-1291) ThreadLocalUtils blows up if a referenced ThreadLocal has been GC'ed

     [ https://issues.apache.org/jira/browse/TRINIDAD-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

       Resolution: Fixed
    Fix Version/s: 1.2.10-core

> ThreadLocalUtils blows up if a referenced ThreadLocal has been GC'ed
> --------------------------------------------------------------------
>
>                 Key: TRINIDAD-1291
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1291
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Archetype
>    Affects Versions: 1.2.9-core
>         Environment: All
>            Reporter: Blake Sullivan
>            Assignee: Jeanne Waldman
>             Fix For: 1.2.10-core
>
>         Attachments: JIRA_1291_12MAIN.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When iterating through the list of WeakReference<ThreadLocal>s to remove from the current thread, ThreadLocalUtils notices when a WeakReference is empty because the ThreadLocal has been GC'ed and attempts to remove the entry from the iterator so that we won't have to check it on the next request.  Unfortunately, the iterator is backed by a CopyOnWriteArrayList, so this throws an UnsupportedOperationException

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