incubator-empire-db-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis De Brabandere <franci...@gmail.com>
Subject multithreaded acces to SimpleDateFormat
Date Tue, 27 Jan 2009 19:53:34 GMT
ObjectUtils has static fields with SimpleDateFormat but as
SimpleDateFormat is not thread safe this is looking for trouble!

http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=19a0c46af2fec6f7d2c4cd3c3757?bug_id=4264153
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html

Is it ok if I remove them and instantiate formats where needed? or
does anybody see a better solution?


-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

Mime
View raw message