in a method or be a globaly syncronized object for all
to use?
-Original Message-
From: Jeff Martin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 12:26 PM
To: Struts Users Mailing List
Subject: RE: Thread Safety Question (was Formatting Dates, Integers...)
Any u
Any use of java.text.DateFormat (or its subclasses) format method is thread unsafe
(quite to my surprise). The problem comes from DateFormat holding an instance of a
Calendar to help it break the java.util.Date into pieces.
When a second thread calls format() while another thread is still in fo
2 matches
Mail list logo