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

Fix NPE for null failed processor in IdentityFlowProcessorVerification #426

Merged

Conversation

jroper
Copy link
Contributor

@jroper jroper commented Feb 21, 2018

Fixes #425

IdentityFlowProcessorVerification.createFailedProcessor is allowed to return null, but the TCK throws an NPE if it does. This introduces a null check to ensure that doesn't happen.

Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@viktorklang
Copy link
Contributor

LGTM, thanks James!

@viktorklang viktorklang self-requested a review February 21, 2018 09:23
@viktorklang
Copy link
Contributor

@reactive-streams/contributors Merging this.

@viktorklang
Copy link
Contributor

@jroper You'll need to rebase this and add yourself to the CopyrightWaivers.txt in this PR.

Fixes reactive-streams#425

IdentityFlowProcessorVerification.createFailedProcessor is allowed to
return null, but the TCK throws an NPE if it does. This introduces a
null check to ensure that doesn't happen.
@jroper jroper force-pushed the flow-processor-verification-failed branch from 0e3d797 to 264b60c Compare March 19, 2018 22:35
@jroper
Copy link
Contributor Author

jroper commented Mar 19, 2018

@viktorklang Done.

@viktorklang
Copy link
Contributor

@reactive-streams/contributors merging. Thanks @jroper!

@viktorklang viktorklang merged commit 582fdae into reactive-streams:master Mar 20, 2018
@viktorklang viktorklang added this to the 1.0.3 milestone Mar 20, 2018
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.

4 participants