Skip to content

Commit 4884da3

Browse files
committed
Java: Bugfix.
1 parent d00618f commit 4884da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private module Dispatch {
7676
(
7777
exists(Method def, RefType t, boolean exact |
7878
qualType(ma, t, exact) and
79-
def = ma.getMethod()
79+
def = ma.getMethod().getSourceDeclaration()
8080
|
8181
exact = true and result = exactMethodImpl(def, t.getSourceDeclaration())
8282
or

0 commit comments

Comments
 (0)