Skip to content

Commit 5d134b4

Browse files
committed
Java: Accept new test results for JDK 26
Accept new ByteOrder.getEntries, List.ofLazy, and Map.ofLazy entries in kotlin2 test expected files.
1 parent 8a7b909 commit 5d134b4

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ methodWithDuplicate
191191
| List | listIterator | int |
192192
| List | of | E |
193193
| List | of | E[] |
194+
| List | ofLazy | IntFunction<? extends E> |
195+
| List | ofLazy | int |
194196
| List | remove | Object |
195197
| List | remove | int |
196198
| List | removeAll | Collection<?> |
@@ -216,6 +218,8 @@ methodWithDuplicate
216218
| List<E> | listIterator | int |
217219
| List<E> | of | E |
218220
| List<E> | of | E[] |
221+
| List<E> | ofLazy | IntFunction<? extends E> |
222+
| List<E> | ofLazy | int |
219223
| List<E> | remove | Object |
220224
| List<E> | remove | int |
221225
| List<E> | removeAll | Collection<?> |
@@ -242,6 +246,8 @@ methodWithDuplicate
242246
| List<String> | listIterator | int |
243247
| List<String> | of | E |
244248
| List<String> | of | E[] |
249+
| List<String> | ofLazy | IntFunction<? extends E> |
250+
| List<String> | ofLazy | int |
245251
| List<String> | remove | Object |
246252
| List<String> | remove | int |
247253
| List<String> | removeAll | Collection<?> |
@@ -274,6 +280,8 @@ methodWithDuplicate
274280
| Map | of | K |
275281
| Map | of | V |
276282
| Map | ofEntries | Entry<? extends K,? extends V>[] |
283+
| Map | ofLazy | Function<? super K,? extends V> |
284+
| Map | ofLazy | Set<? extends K> |
277285
| Map | put | K |
278286
| Map | put | V |
279287
| Map | putAll | Map<? extends K,? extends V> |
@@ -303,6 +311,8 @@ methodWithDuplicate
303311
| Map<Identity,Object> | of | K |
304312
| Map<Identity,Object> | of | V |
305313
| Map<Identity,Object> | ofEntries | Entry<? extends K,? extends V>[] |
314+
| Map<Identity,Object> | ofLazy | Function<? super K,? extends V> |
315+
| Map<Identity,Object> | ofLazy | Set<? extends K> |
306316
| Map<Identity,Object> | put | Identity |
307317
| Map<Identity,Object> | put | Object |
308318
| Map<Identity,Object> | putAll | Map<? extends Identity,? extends Object> |
@@ -333,6 +343,8 @@ methodWithDuplicate
333343
| Map<K,V> | of | K |
334344
| Map<K,V> | of | V |
335345
| Map<K,V> | ofEntries | Entry<? extends K,? extends V>[] |
346+
| Map<K,V> | ofLazy | Function<? super K,? extends V> |
347+
| Map<K,V> | ofLazy | Set<? extends K> |
336348
| Map<K,V> | put | K |
337349
| Map<K,V> | put | V |
338350
| Map<K,V> | putAll | Map<? extends K,? extends V> |
@@ -361,6 +373,8 @@ methodWithDuplicate
361373
| Map<Object,Object> | of | K |
362374
| Map<Object,Object> | of | V |
363375
| Map<Object,Object> | ofEntries | Entry<? extends K,? extends V>[] |
376+
| Map<Object,Object> | ofLazy | Function<? super K,? extends V> |
377+
| Map<Object,Object> | ofLazy | Set<? extends K> |
364378
| Map<Object,Object> | put | Object |
365379
| Map<Object,Object> | putAll | Map<? extends Object,? extends Object> |
366380
| Map<Object,Object> | putIfAbsent | Object |
@@ -388,6 +402,8 @@ methodWithDuplicate
388402
| Map<String,String> | of | K |
389403
| Map<String,String> | of | V |
390404
| Map<String,String> | ofEntries | Entry<? extends K,? extends V>[] |
405+
| Map<String,String> | ofLazy | Function<? super K,? extends V> |
406+
| Map<String,String> | ofLazy | Set<? extends K> |
391407
| Map<String,String> | put | String |
392408
| Map<String,String> | putAll | Map<? extends String,? extends String> |
393409
| Map<String,String> | putIfAbsent | String |

java/ql/test-kotlin2/library-tests/reflection/reflection.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ compGenerated
266266
| file://<external>/AccessFlag$Location.class:0:0:0:0 | getEntries | Default property accessor |
267267
| file://<external>/AccessFlag.class:0:0:0:0 | getEntries | Default property accessor |
268268
| file://<external>/AccessMode.class:0:0:0:0 | getEntries | Default property accessor |
269+
| file://<external>/ByteOrder.class:0:0:0:0 | getEntries | Default property accessor |
269270
| file://<external>/CharProgression.class:0:0:0:0 | forEach | Forwarder for a Kotlin class inheriting an interface default method |
270271
| file://<external>/CharProgression.class:0:0:0:0 | spliterator | Forwarder for a Kotlin class inheriting an interface default method |
271272
| file://<external>/CharRange.class:0:0:0:0 | forEach | Forwarder for a Kotlin class inheriting an interface default method |

0 commit comments

Comments
 (0)