groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blackd...@apache.org
Subject [2/2] groovy git commit: fix test helper so JDK detection doesn't fail when run on pre-JDK9 VMs
Date Mon, 03 Oct 2016 16:34:15 GMT
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 <jwagenleitner@apache.org>
Authored: Wed Sep 7 11:05:24 2016 -0700
Committer: Jochen Theodorou <blackdrag@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()


Mime
View raw message