Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-43

Date Formatting inside James is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.0a3
    • None
    • James Core
    • None
    • Operating System: All
      Platform: All
    • 11233

    Description

      Basically the issue centers on the fact that the format and parse methods of
      the java.text.SimpleDateFormat are not thread-safe (they reference a common
      internal Calendar instance) and so can only be called in a multi-threaded
      context inside an appropriate synchronized block. Current James
      implementation has several instances of assorted classes calling the single
      static method on RFC822DateFormat.

      Attachments

        Activity

          People

            Unassigned Unassigned
            farsight@alum.mit.edu Peter M. Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: