-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support replaceBranches operation for Jacoco filters in Java coverage.
Because the filter API takes the replacements as a Set (and the implementations typically use HashSets), we have to find a way to make the order of adding the new branches deterministic across multiple coverage runs so the data can be meaningfully merged. We achieve this by tracking the order we walk AbstractInsnNodes. This is not a much used filter but does come in to play with the "when" feature in Kotlin. Fixes #12696. PiperOrigin-RevId: 397054657
- Loading branch information
1 parent
4ba4b5d
commit d370ee4
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters