mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: update test case affected by Class.isAssignableFrom neutral model
This commit is contained in:
@@ -18,7 +18,7 @@ class ExternalApiUsage {
|
||||
AtomicReference<String> ref = new AtomicReference<>(); // not supported
|
||||
ref.set("foo");
|
||||
|
||||
String.class.isAssignableFrom(Object.class); // parameter with generic type
|
||||
String.class.isAssignableFrom(Object.class); // parameter with generic type, supported as a neutral model
|
||||
|
||||
System.out.println(d);
|
||||
System.out.println(map);
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
| java.lang.Class#isAssignableFrom(Class) | 1 |
|
||||
| java.time.Duration#ofMillis(long) | 1 |
|
||||
| java.util.concurrent.atomic.AtomicReference#set(Object) | 1 |
|
||||
|
||||
Reference in New Issue
Block a user