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

Blake Sullivan updated TRINIDAD-1291:
-------------------------------------

    Status: Patch Available  (was: Open)

> 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
>   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.

Reply via email to