[ 
https://issues.apache.org/jira/browse/LUCENE-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doron Cohen updated LUCENE-940:
-------------------------------

    Attachment: lucene-940.patch

Attached patch fixing DateFormat for parallel "doc making". 
Also fixing addDoc logging in this scenario.


> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to