Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8639

SimpleDateFormat static class variables found in org.apache.solr.handler.dataimport.MailEntityProcessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 6.0
    • None
    • None

    Description

      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...

      Attachments

        1. SOLR-8639.patch
          8 kB
          Marc Breslow

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbreslow Marc Breslow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m