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

Make the shell test pass when it happens to find the Integer constructor #4187

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

blsemo
Copy link
Contributor

@blsemo blsemo commented Nov 7, 2018

The interactive shell test has a constructor taking an integer that maps to the Java primitive int - when trying to get this reflectively with java.lang.Integer, the test will fail. Usually, this does not even get run, as the commandline parsing in the shell will happily parse an integer to a string if it finds a constructor taking a string first. But occasionally, this leads to test failure.
This does not fix the parsing in the shell, but at least makes the test pass when the Integer constructor gets found first.

@blsemo blsemo requested a review from mikehearn November 7, 2018 14:12
@blsemo blsemo merged commit df954d3 into master Nov 7, 2018
@blsemo blsemo deleted the christians/fix_build_shell_test branch November 7, 2018 16:37
roastario pushed a commit to roastario/corda that referenced this pull request Nov 8, 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.

2 participants