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

Setting Groovy installations not thread-safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • groovy-plugin
    • None

      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.

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

              Created:
              Updated:
              Resolved: