Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-332

Incorrect lazy initialization and update of static field org.apache.commons.vfs.tasks.VfsTask.manager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Incorrect lazy initialization and update of static field org.apache.commons.vfs.tasks.VfsTask.manager

      static field is assigned and then updated, which is not thread-safe.

      Change code to only assign the field after init is complete.

        Attachments

          Activity

            People

            • Assignee:
              sebb Sebb
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: