You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Marc Breslow (JIRA)" <ji...@apache.org> on 2016/02/04 04:02:39 UTC

[jira] [Created] (SOLR-8639) SimpleDateFormat static class variables found in org.apache.solr.handler.dataimport.MailEntityProcessor

Marc Breslow created SOLR-8639:
----------------------------------

             Summary: 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


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