You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Dereferenced variable may be null (`java/dereferenced-value-may-be-null`) | Fewer false positives| Final fields with a non-null initializer are no longer reported. |
25
-
| Expression always evaluates to the same value (`java/evaluation-to-constant`) | Fewer false positives| Expressions of the form `0 * x` are usually intended and no longer reported. Also left shift of ints by 32 bits and longs by 64 bits are no longer reported as they are not constant, these results are instead reported by the new query `java/lshift-larger-than-type-width`. |
26
-
| Useless null check (`java/useless-null-check`) | More true positives| Useless checks on final fields with a non-null initializer are now reported. |
24
+
| Dereferenced variable may be null (`java/dereferenced-value-may-be-null`) | Fewer false positive results| Final fields with a non-null initializer are no longer reported. |
25
+
| Expression always evaluates to the same value (`java/evaluation-to-constant`) | Fewer false positive results| Expressions of the form `0 * x` are usually intended and no longer reported. Also left shift of ints by 32 bits and longs by 64 bits are no longer reported as they are not constant, these results are instead reported by the new query `java/lshift-larger-than-type-width`. |
26
+
| Useless null check (`java/useless-null-check`) | More true positive results| Useless checks on final fields with a non-null initializer are now reported. |
27
27
28
28
## Changes to libraries
29
29
30
30
* The data-flow library has been improved, which affects and improves most security queries. The improvements are:
31
-
- Track flow through methods that combine taint tracking with flow through fields.
32
-
- Track flow through clone-like methods, that is, methods that read contents of a field from a
33
-
parameter and stores the value in the field of a returned object.
31
+
- Track flow through methods that combine taint tracking with flow through fields.
32
+
- Track flow through clone-like methods, that is, methods that read contents of a field from a
33
+
parameter and stores the value in the field of a returned object.
34
34
* Identification of test classes has been improved. Previously, one of the
35
35
match conditions would classify any class with a name containing the string
36
36
"Test" as a test class, but now this matching has been replaced with one that
37
37
looks for the occurrence of actual unit-test annotations. This affects the
38
38
general file classification mechanism and thus suppression of alerts, and
39
39
also any security queries using taint tracking, as test classes act as
40
40
default barriers stopping taint flow.
41
-
* Parentheses are now no longer modelled directly in the AST, that is, the
41
+
* Parentheses are now no longer modeled directly in the AST, that is, the
42
42
`ParExpr` class is empty. Instead, a parenthesized expression can be
43
43
identified with the `Expr.isParenthesized()` member predicate.
0 commit comments