Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 2d1391d71 -> 60185e3cb


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/60185e3c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/60185e3c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/60185e3c

Branch: refs/heads/GROOVY_2_6_X
Commit: 60185e3cb7d03cc7209760b29797119401b81c00
Parents: 2d1391d
Author: paulk <pa...@asert.com.au>
Authored: Mon Jun 19 19:47:43 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Mon Jun 19 19:48:18 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/60185e3c/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.*

Reply via email to