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

Repeated JVM command line options are not preserved #117

Open
pditommaso opened this issue Oct 12, 2017 · 0 comments
Open

Repeated JVM command line options are not preserved #117

pditommaso opened this issue Oct 12, 2017 · 0 comments

Comments

@pditommaso
Copy link

Java 9 allows the use of the --add-opens command line option multiple times specifying different package names.

However when invoking Capsule with more than one --add-opens option only the last one is preserved in the resulting command line returned by Capsule, breaking the target application.

The error suggests that JVM options are collected by using a Map, a List should be used instead.

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