Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 89e834a

Browse files
committed
Ignore Java 21 SortedSet methods in test
1 parent 4ef1d8b commit 89e834a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

core/src/test/java/org/jclouds/reflect/Reflection2Test.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,17 @@ public void testMethodFromClassAndParams() {
143143
.add("last")
144144
.add("subSet")
145145
.add("tailSet")
146+
// Java 21 methods
147+
.add("getFirst")
148+
.add("getLast")
149+
.add("addFirst")
150+
.add("addLast")
151+
.add("removeFirst")
152+
.add("removeLast")
153+
.add("reversed")
146154
.build();
147155

156+
148157
public void testMethods() {
149158
Set<String> methodNames = FluentIterable.from(methods(Set.class)).transform(invokableToName)
150159
.transform(toStringFunction())

0 commit comments

Comments
 (0)