myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Sullivan (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TRINIDAD-1291) ThreadLocalUtils blows up if a referenced ThreadLocal has been GC'ed
Date Thu, 06 Nov 2008 23:03:48 GMT

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

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

    Status: Open  (was: Patch Available)

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


Mime
View raw message