You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2011/04/06 00:15:06 UTC

[jira] [Commented] (DISCOVERY-16) The setLog() methods are not thread-safe and should be deprecated

    [ https://issues.apache.org/jira/browse/DISCOVERY-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016154#comment-13016154 ] 

Simone Tripodi commented on DISCOVERY-16:
-----------------------------------------

+1 for the deprecation, I'll take care ASAP, thanks for reviewing!

> The setLog() methods are not thread-safe and should be deprecated
> -----------------------------------------------------------------
>
>                 Key: DISCOVERY-16
>                 URL: https://issues.apache.org/jira/browse/DISCOVERY-16
>             Project: Commons Discovery
>          Issue Type: Bug
>            Reporter: Sebb
>
> The static setLog() methods set a private static log instance.
> This may not be thread-safe, and even if the log instance is thread-safe, the updated value may not be seen by other threads.
> Therefore these methods should be deprecated.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira