You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Fred Dushin (JIRA)" <ji...@apache.org> on 2007/03/21 20:46:32 UTC
[jira] Updated: (CXF-480) Interceptor lists should use thread-safe
list impls
[ https://issues.apache.org/jira/browse/CXF-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Dushin updated CXF-480:
----------------------------
Attachment: cxf-480.patch
Patch file off revision 520981
> Interceptor lists should use thread-safe list impls
> ---------------------------------------------------
>
> Key: CXF-480
> URL: https://issues.apache.org/jira/browse/CXF-480
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0-M1
> Reporter: Fred Dushin
> Fix For: 2.0-RC
>
> Attachments: cxf-480.patch
>
>
> The InterceptorProvider interface is essentially implemented by 2 classes in CXF: AbstractAttributedInterceptorProvider and AbstractBasicIntercetptorProvider. The interceptor lists stored in these base types are implemented as ArrayLists. However, ArrayLists are not thread-safe, so traversal of said interceptor lists is sensitive to underlying modifications by other interceptors or threads. These maps should be implemented by the java.util.concurrent.CopyOnWriteArrayList type.
> Tested patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.