Skip to content

Update data-flow note to match that for C/C++ #2449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions change-notes/1.23/analysis-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The following changes in version 1.23 affect Java analysis in all applications.
## Changes to libraries

The data-flow library has been extended with a new feature to aid debugging.
If you want to explore the possible flow from a source, replace
`isSink(Node n) { any() }` with the new `Configuration::hasPartialFlow` predicate.
This gives a more complete picture of the partial flow paths from a given source.
Previously, to explore the possible flow from all sources you could specify `isSink(Node n) { any() }` on a configuration.
Now you can use the new `Configuration::hasPartialFlow` predicate,
which gives a more complete picture of the partial flow paths from a given source, including flow that doesn't reach any sink.
The feature is disabled by default and can be enabled for individual configurations by overriding `int explorationLimit()`.