Skip to content
Browse files


Being defensive.
  • Loading branch information
kohsuke committed Apr 1, 2014
1 parent 1b65fbb commit 5f06dfe852075e1daeac823352004c22a3cd2510
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/src/main/java/hudson/util/spring/
@@ -125,6 +125,8 @@ public void parse(InputStream script) {
* Parses the bean definition groovy script by first exporting the given {@link Binding}.
public void parse(InputStream script, Binding binding) {
if (script==null)
throw new IllegalArgumentException("No script is provided");
CompilerConfiguration cc = new CompilerConfiguration();

0 comments on commit 5f06dfe

Please sign in to comment.
You can’t perform that action at this time.