Skip to content

Commit 97cd3b8

Browse files
committed
Java: Force high precision for MapValueContent.
1 parent 51c08f1 commit 97cd3b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ int accessPathLimit() { result = 5 }
374374
* precision. This disables adaptive access path precision for such access paths.
375375
*/
376376
predicate forceHighPrecision(Content c) {
377-
c instanceof ArrayContent or c instanceof CollectionContent
377+
c instanceof ArrayContent or c instanceof CollectionContent or c instanceof MapValueContent
378378
}
379379

380380
/** Holds if `n` should be hidden from path explanations. */

0 commit comments

Comments
 (0)