cxf-issues mailing list archives

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


Fred Dushin updated CXF-480:

    Attachment: cxf-480.patch

Forgot to grant ASF license -- and I can't seem to modify or remove the previous one.

> Interceptor lists should use thread-safe list impls
> ---------------------------------------------------
>                 Key: CXF-480
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-M1
>            Reporter: Fred Dushin
>             Fix For: 2.0-RC
>         Attachments: cxf-480.patch, 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.

View raw message