groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject groovy git commit: fix test helper so JDK detection doesn't fail when run on pre-JDK9 VMs
Date Wed, 07 Sep 2016 18:06:28 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 71e6258c8 -> d1fdc38c2


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/d1fdc38c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/d1fdc38c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/d1fdc38c

Branch: refs/heads/master
Commit: d1fdc38c2c2c0539b434326b37b813328ced96a4
Parents: 71e6258
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Wed Sep 7 11:05:24 2016 -0700
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Wed Sep 7 11:05:24 2016 -0700

----------------------------------------------------------------------
 .../groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/d1fdc38c/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 f69c2f7..dc727cd 100644
--- a/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
+++ b/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
@@ -45,7 +45,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