groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [2/2] groovy git commit: GROOVY-8234: Add @Repeatable java8 annotation support (fix for jdk < 1.8)
Date Fri, 14 Jul 2017 03:30:09 GMT
GROOVY-8234: Add @Repeatable java8 annotation support (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/bd94384e
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/bd94384e
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/bd94384e

Branch: refs/heads/GROOVY_2_6_X
Commit: bd94384e401fb3c02948b055b503e084fefed26e
Parents: 8f958c2
Author: paulk <paulk@asert.com.au>
Authored: Fri Jul 14 13:29:39 2017 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Fri Jul 14 13:29:39 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/bd94384e/src/test/gls/annotations/AnnotationTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/gls/annotations/AnnotationTest.groovy b/src/test/gls/annotations/AnnotationTest.groovy
index f4d3826..504f0e8 100644
--- a/src/test/gls/annotations/AnnotationTest.groovy
+++ b/src/test/gls/annotations/AnnotationTest.groovy
@@ -707,6 +707,7 @@ class AnnotationTest extends CompilableTestSupport {
 
     // GROOVY-8234
     void testAnnotationWithRepeatableSupported() {
+        if (System.getProperty('java.specification.version') < '1.8') return
         assertScript '''
             import java.lang.annotation.*
 


Mime
View raw message