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

Setting Groovy installations not thread-safe

    XMLWordPrintable

    Details

    • 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

          Show
          daspilker Daniel Spilker added a comment - See https://github.com/jenkinsci/groovy-plugin/pull/15 .
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Daniel Spilker
          Path:
          src/main/java/hudson/plugins/groovy/Groovy.java
          http://jenkins-ci.org/commit/groovy-plugin/bf9b0556c0aa859754eecef79cb35a85e9414f3a
          Log:
          JENKINS-28287 Fixed @CopyOnWrite semantics

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: src/main/java/hudson/plugins/groovy/Groovy.java http://jenkins-ci.org/commit/groovy-plugin/bf9b0556c0aa859754eecef79cb35a85e9414f3a Log: JENKINS-28287 Fixed @CopyOnWrite semantics
          Show
          vjuranek vjuranek added a comment - Fixed in https://github.com/jenkinsci/groovy-plugin/pull/15

            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: