Merge pull request #21494 from github/idrissrio/java/jdk26

Java: Accept new test results after JDK 26 extractor upgrade
This commit is contained in:
Idriss Riouak
2026-04-07 12:03:36 +02:00
committed by GitHub
13 changed files with 43 additions and 10 deletions

View File

@@ -196,6 +196,8 @@ methodWithDuplicate
| List | listIterator | int |
| List | of | E |
| List | of | E[] |
| List | ofLazy | IntFunction<? extends E> |
| List | ofLazy | int |
| List | remove | Object |
| List | remove | int |
| List | removeAll | Collection<?> |
@@ -222,6 +224,8 @@ methodWithDuplicate
| List<E> | listIterator | int |
| List<E> | of | E |
| List<E> | of | E[] |
| List<E> | ofLazy | IntFunction<? extends E> |
| List<E> | ofLazy | int |
| List<E> | remove | Object |
| List<E> | remove | int |
| List<E> | removeAll | Collection<?> |
@@ -248,6 +252,8 @@ methodWithDuplicate
| List<String> | listIterator | int |
| List<String> | of | E |
| List<String> | of | E[] |
| List<String> | ofLazy | IntFunction<? extends E> |
| List<String> | ofLazy | int |
| List<String> | remove | Object |
| List<String> | remove | int |
| List<String> | removeAll | Collection<?> |
@@ -280,6 +286,8 @@ methodWithDuplicate
| Map | of | K |
| Map | of | V |
| Map | ofEntries | Entry<? extends K,? extends V>[] |
| Map | ofLazy | Function<? super K,? extends V> |
| Map | ofLazy | Set<? extends K> |
| Map | put | K |
| Map | put | V |
| Map | putAll | Map<? extends K,? extends V> |
@@ -310,6 +318,8 @@ methodWithDuplicate
| Map<Identity,Object> | of | K |
| Map<Identity,Object> | of | V |
| Map<Identity,Object> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<Identity,Object> | ofLazy | Function<? super K,? extends V> |
| Map<Identity,Object> | ofLazy | Set<? extends K> |
| Map<Identity,Object> | put | Identity |
| Map<Identity,Object> | put | Object |
| Map<Identity,Object> | putAll | Map<? extends Identity,? extends Object> |
@@ -341,6 +351,8 @@ methodWithDuplicate
| Map<K,V> | of | K |
| Map<K,V> | of | V |
| Map<K,V> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<K,V> | ofLazy | Function<? super K,? extends V> |
| Map<K,V> | ofLazy | Set<? extends K> |
| Map<K,V> | put | K |
| Map<K,V> | put | V |
| Map<K,V> | putAll | Map<? extends K,? extends V> |
@@ -370,6 +382,8 @@ methodWithDuplicate
| Map<Object,Object> | of | K |
| Map<Object,Object> | of | V |
| Map<Object,Object> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<Object,Object> | ofLazy | Function<? super K,? extends V> |
| Map<Object,Object> | ofLazy | Set<? extends K> |
| Map<Object,Object> | put | Object |
| Map<Object,Object> | putAll | Map<? extends Object,? extends Object> |
| Map<Object,Object> | putIfAbsent | Object |
@@ -397,6 +411,8 @@ methodWithDuplicate
| Map<String,String> | of | K |
| Map<String,String> | of | V |
| Map<String,String> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<String,String> | ofLazy | Function<? super K,? extends V> |
| Map<String,String> | ofLazy | Set<? extends K> |
| Map<String,String> | put | String |
| Map<String,String> | putAll | Map<? extends String,? extends String> |
| Map<String,String> | putIfAbsent | String |

View File

@@ -191,6 +191,8 @@ methodWithDuplicate
| List | listIterator | int |
| List | of | E |
| List | of | E[] |
| List | ofLazy | IntFunction<? extends E> |
| List | ofLazy | int |
| List | remove | Object |
| List | remove | int |
| List | removeAll | Collection<?> |
@@ -216,6 +218,8 @@ methodWithDuplicate
| List<E> | listIterator | int |
| List<E> | of | E |
| List<E> | of | E[] |
| List<E> | ofLazy | IntFunction<? extends E> |
| List<E> | ofLazy | int |
| List<E> | remove | Object |
| List<E> | remove | int |
| List<E> | removeAll | Collection<?> |
@@ -242,6 +246,8 @@ methodWithDuplicate
| List<String> | listIterator | int |
| List<String> | of | E |
| List<String> | of | E[] |
| List<String> | ofLazy | IntFunction<? extends E> |
| List<String> | ofLazy | int |
| List<String> | remove | Object |
| List<String> | remove | int |
| List<String> | removeAll | Collection<?> |
@@ -274,6 +280,8 @@ methodWithDuplicate
| Map | of | K |
| Map | of | V |
| Map | ofEntries | Entry<? extends K,? extends V>[] |
| Map | ofLazy | Function<? super K,? extends V> |
| Map | ofLazy | Set<? extends K> |
| Map | put | K |
| Map | put | V |
| Map | putAll | Map<? extends K,? extends V> |
@@ -303,6 +311,8 @@ methodWithDuplicate
| Map<Identity,Object> | of | K |
| Map<Identity,Object> | of | V |
| Map<Identity,Object> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<Identity,Object> | ofLazy | Function<? super K,? extends V> |
| Map<Identity,Object> | ofLazy | Set<? extends K> |
| Map<Identity,Object> | put | Identity |
| Map<Identity,Object> | put | Object |
| Map<Identity,Object> | putAll | Map<? extends Identity,? extends Object> |
@@ -333,6 +343,8 @@ methodWithDuplicate
| Map<K,V> | of | K |
| Map<K,V> | of | V |
| Map<K,V> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<K,V> | ofLazy | Function<? super K,? extends V> |
| Map<K,V> | ofLazy | Set<? extends K> |
| Map<K,V> | put | K |
| Map<K,V> | put | V |
| Map<K,V> | putAll | Map<? extends K,? extends V> |
@@ -361,6 +373,8 @@ methodWithDuplicate
| Map<Object,Object> | of | K |
| Map<Object,Object> | of | V |
| Map<Object,Object> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<Object,Object> | ofLazy | Function<? super K,? extends V> |
| Map<Object,Object> | ofLazy | Set<? extends K> |
| Map<Object,Object> | put | Object |
| Map<Object,Object> | putAll | Map<? extends Object,? extends Object> |
| Map<Object,Object> | putIfAbsent | Object |
@@ -388,6 +402,8 @@ methodWithDuplicate
| Map<String,String> | of | K |
| Map<String,String> | of | V |
| Map<String,String> | ofEntries | Entry<? extends K,? extends V>[] |
| Map<String,String> | ofLazy | Function<? super K,? extends V> |
| Map<String,String> | ofLazy | Set<? extends K> |
| Map<String,String> | put | String |
| Map<String,String> | putAll | Map<? extends String,? extends String> |
| Map<String,String> | putIfAbsent | String |

View File

@@ -266,6 +266,7 @@ compGenerated
| file://<external>/AccessFlag$Location.class:0:0:0:0 | getEntries | Default property accessor |
| file://<external>/AccessFlag.class:0:0:0:0 | getEntries | Default property accessor |
| file://<external>/AccessMode.class:0:0:0:0 | getEntries | Default property accessor |
| file://<external>/ByteOrder.class:0:0:0:0 | getEntries | Default property accessor |
| file://<external>/CharProgression.class:0:0:0:0 | forEach | Forwarder for a Kotlin class inheriting an interface default method |
| file://<external>/CharProgression.class:0:0:0:0 | spliterator | Forwarder for a Kotlin class inheriting an interface default method |
| file://<external>/CharRange.class:0:0:0:0 | forEach | Forwarder for a Kotlin class inheriting an interface default method |

View File

@@ -1 +1 @@
| Test.java:0:0:0:0 | Test | Test.java:1:1:1:1 | Test | Compact source file 'Test' contains implicit class 'Test' |
| Test.java:0:0:0:0 | Test | Test.java:1:1:29:1 | Test | Compact source file 'Test' contains implicit class 'Test' |

View File

@@ -1,2 +1,2 @@
| Test.java:1:1:1:1 | Test | implicit |
| Test.java:1:1:29:1 | Test | implicit |
| Test.java:25:7:25:16 | NotCompact | not implicit |

View File

@@ -1,5 +1,5 @@
| Test.java:1:1:1:1 | <clinit> | in compact source |
| Test.java:1:1:1:1 | <obinit> | in compact source |
| Test.java:1:1:29:1 | <clinit> | in compact source |
| Test.java:1:1:29:1 | <obinit> | in compact source |
| Test.java:5:6:5:9 | main | in compact source |
| Test.java:11:6:11:16 | processData | in compact source |
| Test.java:16:14:16:31 | updatePrivateField | in compact source |

View File

@@ -1 +1 @@
//semmle-extractor-options: --javac-args --release 25 --enable-preview
//semmle-extractor-options: --javac-args --release 25

View File

@@ -1 +1 @@
//semmle-extractor-options: --javac-args --enable-preview --release 25
//semmle-extractor-options: --javac-args --release 25

View File

@@ -1 +1 @@
//semmle-extractor-options: --javac-args -source 25 -target 25 --enable-preview
//semmle-extractor-options: --javac-args -source 25 -target 25

View File

@@ -13,6 +13,5 @@ public class Test {
}
// Diagnostic Matches: Erroneous node in tree: (ERROR)
// Diagnostic Matches: In file Test.java:8:15 no end location for JCMethodInvocation : yield(x)
// Diagnostic Matches: 1 errors during annotation processing
// Diagnostic Matches: Unknown or erroneous type for expression of kind ErrorExpr

View File

@@ -1 +1 @@
//semmle-extractor-options: --javac-args --release 25 --enable-preview
//semmle-extractor-options: --javac-args --release 25

View File

@@ -1 +1 @@
//semmle-extractor-options: --javac-args --release 25 --enable-preview
//semmle-extractor-options: --javac-args --release 25

View File

@@ -0,0 +1 @@
//semmle-extractor-options: --javac-args --release 25