Setting Groovy installations not thread-safe

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: