Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28287

Setting Groovy installations not thread-safe

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: groovy-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      The code at hudson.plugins.groovy.Groovy.DescriptorImpl#setInstallations() does not implement the @CopyOnWrite semantics, see https://github.com/jenkinsci/groovy-plugin/blob/groovy-1.24/src/main/java/hudson/plugins/groovy/Groovy.java#L192

      Instead of assigning the list atomically, an empty list is assigned and then filled.

        Attachments

          Activity

            People

            • Assignee:
              daspilker Daniel Spilker
              Reporter:
              daspilker Daniel Spilker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: