Skip to content

Fix existential quantification bug in caller checks#15878

Merged
uschindler merged 2 commits into
apache:mainfrom
uschindler:dev/existential-quantification
Mar 25, 2026
Merged

Fix existential quantification bug in caller checks#15878
uschindler merged 2 commits into
apache:mainfrom
uschindler:dev/existential-quantification

Conversation

@uschindler

Copy link
Copy Markdown
Contributor

This is a bug which may happen with empty caller stack. Not urgent, but logic was wrong due to existential quantification (allMatch returns true if stream is empty); anyMatch not. As we have a stream with at max one entry, the condition anyMatch is the only correct one to identify a valid caller.

@github-actions github-actions Bot added this to the 10.5.0 milestone Mar 25, 2026
@uschindler uschindler merged commit bff8a8f into apache:main Mar 25, 2026
13 checks passed
@uschindler uschindler deleted the dev/existential-quantification branch March 25, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant