jenkinsci / groovy-sandbox

(Deprecated) Compile-time transformer to run Groovy code in a restrictive sandbox
MIT License
122 stars 60 forks source link

[FIXED JENKINS-33468] Declare implicit closure parameter variable #38

Closed abayer closed 7 years ago

abayer commented 7 years ago

JENKINS-33468

Rewritten version of https://github.com/jenkinsci/groovy-sandbox/pull/34 for the Java rewrite of SandboxTransformer, with an additional tweak to make sure the variable has the correct dynamic type. Thanks to @gerritjvv for the original.

cc @reviewbybees

ghost commented 7 years ago

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.