Kris Schneider wrote:
But the thread-safety issue really *is* with the parse and format methods. The problem is that SimpleDateFormat uses a protected Calendar instance field (inherited from DateFormat) to maintain state specific to an invocation of both parse and format. So, multiple concurrent threads entering the parse and/or format methods of a single SimpleDateFormat instance are gonna tromp all over the state of that Calendar field.
-- Eddie Bush -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>