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 exception type check order bug #5174

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

liketic
Copy link
Contributor

@liketic liketic commented Sep 11, 2019

If !(t instanceof ExecutionException) is false, which means t is an instance of ExecutionException. If !(t instanceof ExecutionException) is true, then an instance of PulsarClientException will be returned. So the last if block will never be executed.

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Sep 11, 2019
@merlimat merlimat added this to the 2.4.2 milestone Sep 11, 2019
@merlimat
Copy link
Contributor

run java8 tests
run integration tests

@liketic
Copy link
Contributor Author

liketic commented Sep 12, 2019

run integration tests

@merlimat merlimat merged commit 81ccffc into apache:master Sep 12, 2019
wolfstudy pushed a commit that referenced this pull request Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants