groovy git commit: fix for jdk < 1.8

2017-06-19 Thread paulk
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 
Authored: Mon Jun 19 19:47:43 2017 +1000
Committer: paulk 
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.*



groovy git commit: fix for jdk < 1.8

2017-06-19 Thread paulk
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 
Authored: Mon Jun 19 19:47:43 2017 +1000
Committer: paulk 
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.*