Skip to content

Commit 1185bfc

Browse files
authored
Merge pull request github#12986 from aschackmull/java/mapvalue-precision
Java: Force high precision for MapValueContent.
2 parents 2923993 + 97cd3b8 commit 1185bfc

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)