[jira] [Commented] (CONFIGURATION-488) XMLPropertyListConfiguration.PListNode uses static DateFormat fields; these are not thread-safe

2012-08-02 Thread Sebb (JIRA)

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

Sebb commented on CONFIGURATION-488:


Oops, not sure how I missed that.

I agree the fields should be made final; probably best to document that sync. 
is also necessary.

 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




[jira] [Commented] (CONFIGURATION-488) XMLPropertyListConfiguration.PListNode uses static DateFormat fields; these are not thread-safe

2012-07-31 Thread Oliver Heger (JIRA)

[ 
https://issues.apache.org/jira/browse/CONFIGURATION-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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