You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/01/28 09:51:00 UTC

[groovy] branch GROOVY_2_4_X updated (a15f947 -> 5d6c43f)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a change to branch GROOVY_2_4_X
in repository https://gitbox.apache.org/repos/asf/groovy.git.


    from a15f947  make test more resilient
     new f3648c9  avoid deprecated method call
     new 5d6c43f  bump ASM to 7.2

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.gradle                                       | 2 +-
 src/test/groovy/util/GroovyScriptEngineTest.groovy | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


[groovy] 01/02: avoid deprecated method call

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_4_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit f3648c952233edb0cf425aaa8f350ec14b93e65d
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Jan 28 19:49:42 2020 +1000

    avoid deprecated method call
---
 src/test/groovy/util/GroovyScriptEngineTest.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/groovy/util/GroovyScriptEngineTest.groovy b/src/test/groovy/util/GroovyScriptEngineTest.groovy
index 1466f57..3d5ad11 100644
--- a/src/test/groovy/util/GroovyScriptEngineTest.groovy
+++ b/src/test/groovy/util/GroovyScriptEngineTest.groovy
@@ -49,7 +49,7 @@ class GroovyScriptEngineTest extends GroovyTestCase {
         try {
             System.setProperty('groovy.ast', 'xml')
 
-            def clazz = new GroovyScriptEngine([temporaryFolder.root.toURL()] as URL[]).loadScriptByName('Script1.groovy')
+            def clazz = new GroovyScriptEngine([temporaryFolder.root.toURI().toURL()] as URL[]).loadScriptByName('Script1.groovy')
 
             assert new File(temporaryFolder.root, scriptFile.name + '.xml').exists()
             assert clazz != null
@@ -68,7 +68,7 @@ class GroovyScriptEngineTest extends GroovyTestCase {
 
         System.clearProperty('groovy.ast')
 
-        def clazz = new GroovyScriptEngine([temporaryFolder.root.toURL()] as URL[]).loadScriptByName('Script1.groovy')
+        def clazz = new GroovyScriptEngine([temporaryFolder.root.toURI().toURL()] as URL[]).loadScriptByName('Script1.groovy')
         assert clazz != null
 
         assert !new File(temporaryFolder.root, scriptFile.name + '.xml').exists()


[groovy] 02/02: bump ASM to 7.2

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_4_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 5d6c43ffae75307933815a706d6b6451c5376144
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Jan 28 19:50:45 2020 +1000

    bump ASM to 7.2
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 88bf3a0..7c1338f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -148,7 +148,7 @@ configurations {
 
 ext {
     antVersion = '1.9.4'
-    asmVersion = '6.1.1'
+    asmVersion = '7.2'
     antlrVersion = '2.7.7'
     coberturaVersion = '1.9.4.1'
     commonsCliVersion = '1.2'