commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-488) XMLPropertyListConfiguration.PListNode uses static DateFormat fields; these are not thread-safe
Date Tue, 31 Jul 2012 19:50:35 GMT

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

Oliver Heger commented on CONFIGURATION-488:
--------------------------------------------

All access to these fields is synchronized. This is certainly not the best solution, however,
there should not be any threading issue. Or do I miss something?

The fields could be made final.
                
> XMLPropertyListConfiguration.PListNode uses static DateFormat fields; these are not thread-safe
> -----------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-488
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-488
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 2.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message