Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-13796

Generic Jira: UnsynchronizedStaticDateFormatter [Static Code Review]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Static code review - trunk

      Description

      DateFormatter is not thread safe. Using a shared instance is dangerous. It should be protected against concurrent access by locks/ThreadLocal/using local variables.

      See http://qa1-nl.sakaiproject.org/codereview/bug_dashboard/pmd_concurrency.html

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  osp-jira OSP Jira Team (Inactive)
                  Reporter:
                  gnooteb2 Gilgamesh Nootebos (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code