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

maybeHasNext will always be true, even if constructor catches exception #1

Open
astrosam opened this issue Nov 2, 2016 · 0 comments

Comments

@astrosam
Copy link

astrosam commented Nov 2, 2016

Currently, the JsonArrayStreamDataSupplier constructor assigns true to maybeHasNext after the try/catch block.

Therefore, even when the constructor catches an exception, maybeHasNext will be true when the constructor returns.

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

No branches or pull requests

1 participant