Skip to content

Commit a4ae9a0

Browse files
committed
Java: Use MaD summaries for java.util.Hashtable.
1 parent ba3ebee commit a4ae9a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/lib/semmle/code/java/dispatch/VirtualDispatch.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ private module Dispatch {
106106
t.hasQualifiedName("java.lang", "Cloneable")
107107
or
108108
t.getPackage().hasName("java.util") and t instanceof Interface
109+
or
110+
t.hasQualifiedName("java.util", "Hashtable")
109111
}
110112

111113
/**

0 commit comments

Comments
 (0)