Added jpype_kwargs to launcher.start only. If you want to change the defaults, users will need to instantiate a custom launcher. The default pyhidra.start has not changed.
Added 3 tests, 2 working and 1 not quite. The test test_invalid_vm_arg_fail actually breaks the jpype jvm and any subsequent test is not able to run as a result. If the test is run in its own process, it might be able to succeed. Not quite sure how to do that well with pytest.
Thanks for the PR. We added a few review comments. Can you please also edit the CHANGELOG.md adding a "Unreleased" section at the top with a blurb about what this change provides?
Initial attempt to support jpype kwargs. #23
IgnoreUnrecognizedVMOptions
.jpype_kwargs
tolauncher.start
only. If you want to change the defaults, users will need to instantiate a custom launcher. The defaultpyhidra.start
has not changed.test_invalid_vm_arg_fail
actually breaks the jpype jvm and any subsequent test is not able to run as a result. If the test is run in its own process, it might be able to succeed. Not quite sure how to do that well withpytest
.