commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26827] - [bean] DateLocaleConverter is not thread-safe
Date Thu, 12 Feb 2004 07:55:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26827>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26827

[bean] DateLocaleConverter is not thread-safe





------- Additional Comments From l.masini@infogroup.it  2004-02-12 07:55 -------
It has been always been NOT multi-thread safe, the fact is that they documented
it starting from 1.4, after a bug opened at java.sun.com.
Please, don't use synchronization, but instantiate a new SimpleDataFormat in the
method that use it. I have a heavy use financial information server that
suffered from that bug in jdk1.1 and testing, we discovered that the better way
is not to synchronize, but to instantiate new.
Ciao.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message