[spock] 01/03: add patch to compile against groovy 2.4.7
Tony Mancill
tmancill at moszumanska.debian.org
Sat Jul 2 04:46:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository spock.
commit c1e62fb4680528d6864cf0e3cadac16af5efda82
Author: tony mancill <tmancill at debian.org>
Date: Fri Jul 1 21:07:52 2016 -0700
add patch to compile against groovy 2.4.7
---
debian/patches/829111.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/829111.patch b/debian/patches/829111.patch
new file mode 100644
index 0000000..d0c58d3
--- /dev/null
+++ b/debian/patches/829111.patch
@@ -0,0 +1,16 @@
+Description: update ConfigurationScriptLoader for groovy 2.4.7
+ GroovyCodeSource(URL url) constructor no longer throws IOException
+ see: http://docs.groovy-lang.org/2.4.7/html/api/groovy/lang/GroovyCodeSource.html#GroovyCodeSource(java.net.URL)
+Author: tony mancill <tmancill at debian.org>
+
+--- a/spock-core/src/main/java/org/spockframework/runtime/ConfigurationScriptLoader.java
++++ b/spock-core/src/main/java/org/spockframework/runtime/ConfigurationScriptLoader.java
+@@ -126,8 +126,6 @@
+ GroovyShell shell = createShell();
+ try {
+ return (DelegatingScript) shell.parse(new GroovyCodeSource(url));
+- } catch (IOException e) {
+- throw new ConfigurationException("Error reading configuration script '%s'", location);
+ } catch (CompilationFailedException e) {
+ throw new ConfigurationException("Error compiling configuration script '%s'", location);
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 824043b..ba1a53a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01-upgrade-asm.patch
+829111.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/spock.git
More information about the pkg-java-commits
mailing list