Anil,
can you list the places where this is happening? the overwhelming
majority of the work for 3.0 happened in the ui.rendering package and a
quick glance at the use of SimpleDateFormat in those classes looks okay
to me.
i agree that we should try and find places where we are not including a
locale in the use of SimpleDateFormat and fix that.
-- Allen
Anil Gangolli wrote:
I'm seeing a couple of things related to SimpleDateFormat usage in the Roller
3.0 codebase:
(1) There are a number of places where SimpleDateFormat is used in the Roller
3.0 codebase where the instance is shared but there is no synchronization being
done. These things are not MT-safe.
(2) Most construction of the formats use locales, but there are a number of places where SimpleDateFormat is constructed without a locale. Not sure if these are issues; I think some are, and some aren't.
--a.