commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (CODEC-55) make all "business" method implementations of public API thread safe
Date Tue, 09 Oct 2007 21:23:50 GMT


Sebb commented on CODEC-55:

". The thread-unsafe dependencies/setups are invoked once during the object instantiation,
and subsequently, only the biz methods (such as encode/decode) are invoked during the entire
life span of the instantiated object. "

Just to point out that this might not be sufficient.
If a non-threadsafe method is invoked after construction, then different threads may see differently
configured versions of the same instance.

> make all "business" method implementations of public API thread safe 
> ---------------------------------------------------------------------
>                 Key: CODEC-55
>                 URL:
>             Project: Commons Codec
>          Issue Type: Wish
>            Reporter: Qingtian Wang
>         Attachments: concurrentCodecs.diff, concurrentQDiff.diff, urlcodec.patch
> Maybe most of the implementations are already thread safe. Just such that codec can say
so in general...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message