Skip to content

Commit 9771f90

Browse files
committed
Java: Accept new test results for JDK 26
JDK 26 added ofLazy methods to List, Map, and Set collections. Update expected test output to include these new methods.
1 parent 05f1098 commit 9771f90

File tree

1 file changed

+16
-0
lines changed
  • java/ql/test-kotlin1/library-tests/java-kotlin-collection-type-generic-methods

1 file changed

+16
-0
lines changed

java/ql/test-kotlin1/library-tests/java-kotlin-collection-type-generic-methods/test.expected

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ methodWithDuplicate
196196
| List | listIterator | int |
197197
| List | of | E |
198198
| List | of | E[] |
199+
| List | ofLazy | IntFunction<? extends E> |
200+
| List | ofLazy | int |
199201
| List | remove | Object |
200202
| List | remove | int |
201203
| List | removeAll | Collection<?> |
@@ -222,6 +224,8 @@ methodWithDuplicate
222224
| List<E> | listIterator | int |
223225
| List<E> | of | E |
224226
| List<E> | of | E[] |
227+
| List<E> | ofLazy | IntFunction<? extends E> |
228+
| List<E> | ofLazy | int |
225229
| List<E> | remove | Object |
226230
| List<E> | remove | int |
227231
| List<E> | removeAll | Collection<?> |
@@ -248,6 +252,8 @@ methodWithDuplicate
248252
| List<String> | listIterator | int |
249253
| List<String> | of | E |
250254
| List<String> | of | E[] |
255+
| List<String> | ofLazy | IntFunction<? extends E> |
256+
| List<String> | ofLazy | int |
251257
| List<String> | remove | Object |
252258
| List<String> | remove | int |
253259
| List<String> | removeAll | Collection<?> |
@@ -280,6 +286,8 @@ methodWithDuplicate
280286
| Map | of | K |
281287
| Map | of | V |
282288
| Map | ofEntries | Entry<? extends K,? extends V>[] |
289+
| Map | ofLazy | Function<? super K,? extends V> |
290+
| Map | ofLazy | Set<? extends K> |
283291
| Map | put | K |
284292
| Map | put | V |
285293
| Map | putAll | Map<? extends K,? extends V> |
@@ -310,6 +318,8 @@ methodWithDuplicate
310318
| Map<Identity,Object> | of | K |
311319
| Map<Identity,Object> | of | V |
312320
| Map<Identity,Object> | ofEntries | Entry<? extends K,? extends V>[] |
321+
| Map<Identity,Object> | ofLazy | Function<? super K,? extends V> |
322+
| Map<Identity,Object> | ofLazy | Set<? extends K> |
313323
| Map<Identity,Object> | put | Identity |
314324
| Map<Identity,Object> | put | Object |
315325
| Map<Identity,Object> | putAll | Map<? extends Identity,? extends Object> |
@@ -341,6 +351,8 @@ methodWithDuplicate
341351
| Map<K,V> | of | K |
342352
| Map<K,V> | of | V |
343353
| Map<K,V> | ofEntries | Entry<? extends K,? extends V>[] |
354+
| Map<K,V> | ofLazy | Function<? super K,? extends V> |
355+
| Map<K,V> | ofLazy | Set<? extends K> |
344356
| Map<K,V> | put | K |
345357
| Map<K,V> | put | V |
346358
| Map<K,V> | putAll | Map<? extends K,? extends V> |
@@ -370,6 +382,8 @@ methodWithDuplicate
370382
| Map<Object,Object> | of | K |
371383
| Map<Object,Object> | of | V |
372384
| Map<Object,Object> | ofEntries | Entry<? extends K,? extends V>[] |
385+
| Map<Object,Object> | ofLazy | Function<? super K,? extends V> |
386+
| Map<Object,Object> | ofLazy | Set<? extends K> |
373387
| Map<Object,Object> | put | Object |
374388
| Map<Object,Object> | putAll | Map<? extends Object,? extends Object> |
375389
| Map<Object,Object> | putIfAbsent | Object |
@@ -397,6 +411,8 @@ methodWithDuplicate
397411
| Map<String,String> | of | K |
398412
| Map<String,String> | of | V |
399413
| Map<String,String> | ofEntries | Entry<? extends K,? extends V>[] |
414+
| Map<String,String> | ofLazy | Function<? super K,? extends V> |
415+
| Map<String,String> | ofLazy | Set<? extends K> |
400416
| Map<String,String> | put | String |
401417
| Map<String,String> | putAll | Map<? extends String,? extends String> |
402418
| Map<String,String> | putIfAbsent | String |

0 commit comments

Comments
 (0)