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

Handles long overflow on JsonTypeCoercer #7423

Merged
merged 1 commit into from
Aug 1, 2019

Conversation

albertor24
Copy link
Contributor

@albertor24 albertor24 commented Jul 23, 2019

Ensures that if a value is an integer, it can be safely casted to Long. Otherwise, we would return a Double.

Fixes #7398

Ensures that if a value is an integer, it can be safely casted to Long. Otherwise, it returns a Double.

Fixes SeleniumHQ#7398
@p0deje p0deje added the C-java label Jul 23, 2019
@shs96c shs96c merged commit 9c9661f into SeleniumHQ:master Aug 1, 2019
@shs96c
Copy link
Member

shs96c commented Aug 1, 2019

Thanks for the PR. It makes a lot of sense, and I do like the fact that you defaulted to trying return a long. Merging now! Congratulations on your first commit, and welcome to the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

executeScript returns float number with e-notation as Long
3 participants