From e7d0c29ce1796aa707a857e8a2e11b043cd279db Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Wed, 30 Aug 2017 10:38:46 -0700 Subject: [PATCH] JCLOUDS-1101: Skip JDK 9 methods in tests --- core/src/test/java/org/jclouds/reflect/Reflection2Test.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/jclouds/reflect/Reflection2Test.java b/core/src/test/java/org/jclouds/reflect/Reflection2Test.java index f61a3ed387..ca41bc7f32 100644 --- a/core/src/test/java/org/jclouds/reflect/Reflection2Test.java +++ b/core/src/test/java/org/jclouds/reflect/Reflection2Test.java @@ -129,7 +129,9 @@ public class Reflection2Test { "parallelStream", "removeIf", "spliterator", - "stream"); + "stream", + // Java 9 methods + "of"); private static final ImmutableSet SORTED_SET_METHODS = ImmutableSet.builder() .addAll(SET_METHODS)