commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISCOVERY-16) The setLog() methods are not thread-safe and should be deprecated
Date Tue, 05 Apr 2011 21:19:05 GMT
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