Skip to content
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

java: correctly raise asynchronous assertion error #1575

Merged
merged 1 commit into from Feb 20, 2024

Conversation

matklad
Copy link
Member

@matklad matklad commented Feb 20, 2024

Before, the code could setException through checkResultLength, and the also setResult, which trips a recently added assert.

Make sure there's only one place where result or exception are set

Before, the code could `setException` through `checkResultLength`, and
the _also_ `setResult`, which trips a recently added assert.

Make sure there's only one place where result or exception are set
@matklad matklad added this pull request to the merge queue Feb 20, 2024
Merged via the queue into main with commit db88b61 Feb 20, 2024
28 checks passed
@matklad matklad deleted the matklad/to-be-or-not-to-be-but-not-both branch February 20, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants