You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/12/25 00:48:00 UTC
[1/2] groovy git commit: Bump asm version to 6.0
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_4_X e34823cba -> e9b6bddda
Bump asm version to 6.0
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/091e1784
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/091e1784
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/091e1784
Branch: refs/heads/GROOVY_2_4_X
Commit: 091e178495a5dbd44ab46374121b7f28ea98d6d1
Parents: e34823c
Author: sunlan <su...@apache.org>
Authored: Mon Dec 25 08:47:08 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Mon Dec 25 08:47:08 2017 +0800
----------------------------------------------------------------------
build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/091e1784/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index a1fb8c8..57847a9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -148,7 +148,7 @@ configurations {
ext {
antVersion = '1.9.4'
- asmVersion = '5.0.3'
+ asmVersion = '6.0'
antlrVersion = '2.7.7'
coberturaVersion = '1.9.4.1'
commonsCliVersion = '1.2'
[2/2] groovy git commit: Fix "unable to resolve class
java.util.stream.Stream"
Posted by su...@apache.org.
Fix "unable to resolve class java.util.stream.Stream"
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/e9b6bddd
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e9b6bddd
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e9b6bddd
Branch: refs/heads/GROOVY_2_4_X
Commit: e9b6bddda05165195db24d42ed3715e4752e0397
Parents: 091e178
Author: sunlan <su...@apache.org>
Authored: Mon Dec 25 08:47:52 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Mon Dec 25 08:47:52 2017 +0800
----------------------------------------------------------------------
.../groovy/vmplugin/v8/InterfaceStaticMethodCallTest.groovy | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/e9b6bddd/src/test/org/codehaus/groovy/vmplugin/v8/InterfaceStaticMethodCallTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/vmplugin/v8/InterfaceStaticMethodCallTest.groovy b/src/test/org/codehaus/groovy/vmplugin/v8/InterfaceStaticMethodCallTest.groovy
index 80ad66a..ee2c88c 100644
--- a/src/test/org/codehaus/groovy/vmplugin/v8/InterfaceStaticMethodCallTest.groovy
+++ b/src/test/org/codehaus/groovy/vmplugin/v8/InterfaceStaticMethodCallTest.groovy
@@ -18,8 +18,14 @@
*/
package org.codehaus.groovy.vmplugin.v8
+import org.codehaus.groovy.vmplugin.VMPluginFactory
+
class InterfaceStaticMethodCallTest extends GroovyTestCase {
void testStreamOf() {
+ if (VMPluginFactory.getPlugin().getVersion() < 8) {
+ return
+ }
+
// "of" is a static method declared on the interface, we only want to be sure we can call the method
assertScript '''
import java.util.stream.Stream