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

Scripts not permitted to use method java.util.Map isEmpty

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: script-security-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.89.3 (LTS)
      workflow-cps 2.43
    • Similar Issues:

      Description

      [:].isEmpty() triggers the wrath of the sandbox.

        Attachments

          Issue Links

            Activity

            Hide
            abayer Andrew Bayer added a comment -

            Merged, will be included in the next script-security release (which should be 1.42).

            Show
            abayer Andrew Bayer added a comment - Merged, will be included in the next script-security release (which should be 1.42).
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist
            http://jenkins-ci.org/commit/script-security-plugin/7a76cd1753c4f02850194ab06824a5d4e8a4b9f5
            Log:
            [FIXED JENKINS-49542] Whitelist Map#isEmpty()

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: src/main/resources/org/jenkinsci/plugins/scriptsecurity/sandbox/whitelists/generic-whitelist http://jenkins-ci.org/commit/script-security-plugin/7a76cd1753c4f02850194ab06824a5d4e8a4b9f5 Log: [FIXED JENKINS-49542] Whitelist Map#isEmpty()
            Show
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/script-security-plugin/pull/183

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                jhoblitt Joshua Hoblitt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: