You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by bl...@apache.org on 2016/10/03 16:34:15 UTC
[2/2] groovy git commit: fix test helper so JDK detection doesn't
fail when run on pre-JDK9 VMs
fix test helper so JDK detection doesn't fail when run on pre-JDK9 VMs
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/ce957cdd
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ce957cdd
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ce957cdd
Branch: refs/heads/GROOVY_2_4_X
Commit: ce957cdd68091012cc23a6ab1569b6a6d225e9a0
Parents: 55cdd8f
Author: John Wagenleitner <jw...@apache.org>
Authored: Wed Sep 7 11:05:24 2016 -0700
Committer: Jochen Theodorou <bl...@gmx.org>
Committed: Mon Oct 3 18:33:03 2016 +0200
----------------------------------------------------------------------
.../groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/ce957cdd/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy b/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
index 9f97a7e..fdda30f 100644
--- a/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
+++ b/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
@@ -51,7 +51,7 @@ public class ExtensionModuleHelperForTests {
try {
jdk9 = this.classLoader.loadClass("java.lang.reflect.Module") != null
} catch (e) {
- throw e
+ // ignore
}
def ant = new AntBuilder()