Skip to content

Commit 997219a

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: update test case affected by Class.isAssignableFrom neutral model
1 parent 6007827 commit 997219a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

java/ql/test/query-tests/Telemetry/UnsupportedExternalAPIs/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static void main(String[] args) {
1818
AtomicReference<String> ref = new AtomicReference<>(); // not supported
1919
ref.set("foo");
2020

21-
String.class.isAssignableFrom(Object.class); // parameter with generic type
21+
String.class.isAssignableFrom(Object.class); // parameter with generic type, supported as a neutral model
2222

2323
System.out.println(d);
2424
System.out.println(map);
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
| java.lang.Class#isAssignableFrom(Class) | 1 |
21
| java.time.Duration#ofMillis(long) | 1 |
32
| java.util.concurrent.atomic.AtomicReference#set(Object) | 1 |

0 commit comments

Comments
 (0)