Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2901710217 for ; Tue, 6 Aug 2013 13:23:50 +0000 (UTC) Received: (qmail 83168 invoked by uid 500); 6 Aug 2013 13:23:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 83081 invoked by uid 500); 6 Aug 2013 13:23:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 83069 invoked by uid 99); 6 Aug 2013 13:23:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 13:23:47 +0000 Date: Tue, 6 Aug 2013 13:23:47 +0000 (UTC) From: "Dmitry Katsubo (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-909) Thread-safe wrapper for SimpleDateFormat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Katsubo updated LANG-909: -------------------------------- Attachment: ThreadSafeDateFormatTest.java ThreadSafeDateFormat.java > Thread-safe wrapper for SimpleDateFormat > ---------------------------------------- > > Key: LANG-909 > URL: https://issues.apache.org/jira/browse/LANG-909 > Project: Commons Lang > Issue Type: New Feature > Components: lang.time.* > Affects Versions: 3.1 > Reporter: Dmitry Katsubo > Priority: Minor > Attachments: ThreadSafeDateFormat.java, ThreadSafeDateFormatTest.java > > > {{SimpleDateFormat}} implementation in JDK is known to be [not thread-safe|http://stackoverflow.com/questions/6840803/simpledateformat-thread-safety]. The attached helper class solves the problem by holding a separate instance of {{SimpleDateFormat}} per thread. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira