cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Dushin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-480) Interceptor lists should use thread-safe list impls
Date Wed, 21 Mar 2007 19:46:32 GMT

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


Mime
View raw message