You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/06/26 21:24:26 UTC
[jira] Reopened: (LUCENE-940) SimpleDateFormat used in a non thread
safe manner
[ https://issues.apache.org/jira/browse/LUCENE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen reopened LUCENE-940:
--------------------------------
New test case TestPerfTasksLogic.testParallelDocMaker() is using Reuters collection, which is not found in this test run. Need to check why. Should have better tested the whole setup, not just the particular Test, sorry fore that.
> SimpleDateFormat used in a non thread safe manner
> -------------------------------------------------
>
> Key: LUCENE-940
> URL: https://issues.apache.org/jira/browse/LUCENE-940
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/benchmark
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Minor
> Fix For: 2.3
>
> Attachments: lucene-940.patch
>
>
> As Mike pointed out in http://www.mail-archive.com/java-dev@lucene.apache.org/msg10831.html SimpleDateFormat is not thread safe and hence DocMakers need to maintain it in a ThreadLocal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org