JCLOUDS-1101: Skip JDK 9 methods in tests

This commit is contained in:
Andrew Gaul 2017-08-30 10:38:46 -07:00
parent 6bb9c927bb
commit e7d0c29ce1
1 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,9 @@ public class Reflection2Test {
"parallelStream",
"removeIf",
"spliterator",
"stream");
"stream",
// Java 9 methods
"of");
private static final ImmutableSet<String> SORTED_SET_METHODS = ImmutableSet.<String>builder()
.addAll(SET_METHODS)