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

resteasy-reactor: Fix a null case that causes hang #2150

Merged
merged 2 commits into from Sep 12, 2019

Conversation

crankydillo
Copy link
Contributor

The replaced code in MonoProvider was blindly copied from rxjava2. We
use this code in our application and the code in testToCompletionStageNullCase
represents a scenario our app deals with. With the MonoAdapter, that
code hangs. Leveraging the existing Mono#toFuture, which I should
have done in the first place, addresses that hang.

The replaced code in `MonoProvider` was blindly copied from rxjava2.  We
use this code in our application and the code in `testToCompletionStageNullCase`
represents a scenario our app deals with.  With the `MonoAdapter`, that
code hangs.  Leveraging the existing `Mono#toFuture`, which I should
have done in the first place, addresses that hang.
Copy link
Contributor

@anilgursel anilgursel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Please add issue id to PR title and address the check style issue.

Copy link
Member

@asoldano asoldano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and sorry for the late feedback, I've been on PTO

@asoldano asoldano merged commit f5f0785 into resteasy:master Sep 12, 2019
@asoldano asoldano added the main label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants