groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: fix for jdk < 1.8
Date Mon, 19 Jun 2017 09:47:53 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X c29cf2f30 -> 91b0872ed


fix for jdk < 1.8


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 91b0872ed0f372e69d88116309b6b2a1a604474a
Parents: c29cf2f
Author: paulk <paulk@asert.com.au>
Authored: Mon Jun 19 19:47:43 2017 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Mon Jun 19 19:47:43 2017 +1000

----------------------------------------------------------------------
 src/test/gls/annotations/AnnotationTest.groovy | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/91b0872e/src/test/gls/annotations/AnnotationTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/gls/annotations/AnnotationTest.groovy b/src/test/gls/annotations/AnnotationTest.groovy
index 80e4242..af32e9b 100644
--- a/src/test/gls/annotations/AnnotationTest.groovy
+++ b/src/test/gls/annotations/AnnotationTest.groovy
@@ -680,6 +680,7 @@ class AnnotationTest extends CompilableTestSupport {
 
     // GROOVY-8226
     void testAnnotationOnParameterType() {
+        if (System.getProperty('java.specification.version') < '1.8') return
         assertScript '''
             import java.lang.annotation.*
             import static java.lang.annotation.ElementType.*


Mime
View raw message