lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Breslow (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8639) SimpleDateFormat static class variables found in org.apache.solr.handler.dataimport.MailEntityProcessor
Date Thu, 04 Feb 2016 03:17:39 GMT

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

Marc Breslow updated SOLR-8639:
-------------------------------
    Attachment: SOLR-8639.patch

> SimpleDateFormat static class variables found in org.apache.solr.handler.dataimport.MailEntityProcessor
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8639
>                 URL: https://issues.apache.org/jira/browse/SOLR-8639
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: Trunk
>            Reporter: Marc Breslow
>         Attachments: SOLR-8639.patch
>
>
> sinceDateParser and afterFmt are declared as static variables of type SimpleDateFormat
which is not threadsafe. This may cause data corruption and an incorrect value to be returned
by the methods that use them.
> Pull request coming...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message