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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: