Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 54759 invoked from network); 10 Feb 2004 21:36:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Feb 2004 21:36:46 -0000 Received: (qmail 71488 invoked by uid 500); 10 Feb 2004 21:36:27 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 71435 invoked by uid 500); 10 Feb 2004 21:36:26 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 71413 invoked from network); 10 Feb 2004 21:36:26 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 10 Feb 2004 21:36:26 -0000 Received: (qmail 8754 invoked by uid 50); 10 Feb 2004 21:36:50 -0000 Date: 10 Feb 2004 21:36:50 -0000 Message-ID: <20040210213650.8753.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 26827] - DateLocaleConverter is not thread-safe X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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 DateLocaleConverter is not thread-safe ------- Additional Comments From rdonkin@apache.org 2004-02-10 21:36 ------- hmmm.... i take it that you are referring to: public class DateLocaleConverter extends BaseLocaleConverter { // ----------------------------------------------------- Instance Variables /** All logging goes through this logger */ private static Log log = LogFactory.getLog(DateLocaleConverter.class); /** The Date formatter */ private SimpleDateFormat formatter = getPattern(pattern, locale); right? i'm not convinced by your assertion that this is not thread safe. i think that constructors are by their nature non-reentrant (for an instance) and effectively act as if the method (and any called either directly or indirectly from within a constructor) is synchronized. of course, i'd be happy to be proved wrong if you can supply a solid reference or a good test case demonstrating the problem. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org