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

Preserve exception type on BlockingIterable#forEach variants #3154

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

daschl
Copy link
Contributor

@daschl daschl commented Dec 21, 2024

The previous refactoring (#3128) wrapped all non-runtime exception into a runtime exception to adhere to the unchecked singature of the method. Turns out, some code on top has been relying on the actual exception (i.e. an IOException) so wrapping, while correct, is not backwards compatible and in this case for us the latter is more important.

The previous refactoring wrapped all non-runtime exception into
a runtime exception to adhere to the unchecked singature of
the method. Turns out, some code on top has been relying on the
actual exception (i.e. an IOException) so wrapping, while correct,
is not backwards compatible and in this case for us the latter
is more important.
@idelpivnitskiy idelpivnitskiy merged commit d4bb93f into apple:main Dec 23, 2024
11 checks passed
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.

2 participants