mirror of https://github.com/apache/jclouds.git
Ignore Java 21 SortedSet methods in test
This commit is contained in:
parent
4ef1d8b177
commit
89e834a4c5
|
@ -143,8 +143,17 @@ public class Reflection2Test {
|
||||||
.add("last")
|
.add("last")
|
||||||
.add("subSet")
|
.add("subSet")
|
||||||
.add("tailSet")
|
.add("tailSet")
|
||||||
|
// Java 21 methods
|
||||||
|
.add("getFirst")
|
||||||
|
.add("getLast")
|
||||||
|
.add("addFirst")
|
||||||
|
.add("addLast")
|
||||||
|
.add("removeFirst")
|
||||||
|
.add("removeLast")
|
||||||
|
.add("reversed")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|
||||||
public void testMethods() {
|
public void testMethods() {
|
||||||
Set<String> methodNames = FluentIterable.from(methods(Set.class)).transform(invokableToName)
|
Set<String> methodNames = FluentIterable.from(methods(Set.class)).transform(invokableToName)
|
||||||
.transform(toStringFunction())
|
.transform(toStringFunction())
|
||||||
|
|
Loading…
Reference in New Issue