You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2014/01/25 21:21:39 UTC
[jira] [Updated] (LANG-909) Thread-safe wrapper for
SimpleDateFormat
[ https://issues.apache.org/jira/browse/LANG-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter updated LANG-909:
---------------------------------
Fix Version/s: (was: Review Patch)
> 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: DateFormatAdapter.java, ThreadSafeSimpleDateFormat.java, ThreadSafeSimpleDateFormatTest.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 was sent by Atlassian JIRA
(v6.1.5#6160)