Skip to content

NumericIntervalField does not catch NumberFormatException#3

Open
emopers wants to merge 1 commit intoCue:masterfrom
emopers:long_badparsing_44
Open

NumericIntervalField does not catch NumberFormatException#3
emopers wants to merge 1 commit intoCue:masterfrom
emopers:long_badparsing_44

Conversation

@emopers
Copy link

@emopers emopers commented Dec 23, 2015

NumericIntervalField.java calls java.lang.long.parseLong without first
checking whether the argument parses. This
lead to an uncaught NumberFormatException: Oracle Java 7 API specification.

This pull request adds a check and a test for this issue.

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.

1 participant