groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: jdk11 test fix
Date Mon, 09 Jul 2018 12:21:57 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 9cc5e039f -> 05cb2d692


jdk11 test fix


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/05cb2d69
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/05cb2d69
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/05cb2d69

Branch: refs/heads/master
Commit: 05cb2d69209f9ccccb6700a9ffaf61fcb02144dd
Parents: 9cc5e03
Author: Paul King <paulk@asert.com.au>
Authored: Mon Jul 9 22:21:50 2018 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Mon Jul 9 22:21:50 2018 +1000

----------------------------------------------------------------------
 .../groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/05cb2d69/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 ae6f7cd..caba115 100644
--- a/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
+++ b/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
@@ -20,7 +20,7 @@ package org.codehaus.groovy.runtime.m12n
 
 import org.codehaus.groovy.runtime.DefaultGroovyStaticMethods
 
-public class ExtensionModuleHelperForTests {
+class ExtensionModuleHelperForTests {
     static void doInFork(String code) {
         doInFork("GroovyTestCase", code)
     }
@@ -40,7 +40,7 @@ public class ExtensionModuleHelperForTests {
         Set<String> cp = System.getProperty("java.class.path").split(File.pathSeparator)
as Set
         cp << baseDir.absolutePath
 
-        boolean jdk9 = false;
+        boolean jdk9 = false
         try {
             jdk9 = new BigDecimal(System.getProperty("java.specification.version")).compareTo(new
BigDecimal("9.0")) >= 0
         } catch (e) {
@@ -62,10 +62,6 @@ public class ExtensionModuleHelperForTests {
                             pathelement location: it
                         }
                     }
-                    if (jdk9) {
-                        jvmarg(value: '--add-modules')
-                        jvmarg(value: 'java.xml.bind')
-                    }
                 }
             }
         } finally {


Mime
View raw message