commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISCOVERY-16) The setLog() methods are not thread-safe and should be deprecated
Date Tue, 05 Apr 2011 22:15:06 GMT

    [ 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

Mime
View raw message