>>>>> "Peter" == Peter Royal <[EMAIL PROTECTED]> writes:

    Peter> does it matter? I have been under the impression that the
    Peter> regular HashMap class is fine when read from multiple
    Peter> threads. You need to ensure a thread-safe wrapper when you
    Peter> want to have multiple threads modifying the Map. Since the
    Peter> Map returned for the dependency (should be) read-only, I
    Peter> don't think it is an issue.

    Peter> Correct me if I'm wrong...

You are right, the HashMap javadoc says that it is safe to concurrently
read it. So, should we explicitly documented that dependcy Map as
safe-for-concurrent-access (since it already is)?

Thanks
Greg

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@;jakarta.apache.org>

Reply via email to