-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Gatling 3.12.0 -> 3.13.1 results in java.lang.IllegalAccessException: module java.base does not open java.lang to unnamed module #4599
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
Comments
We also see this problem after updating from 13.12.0 -> 13.13.1 - same stack trace posted above.
|
@sanderino666 sanderino666
I don't think you are really using 4.10.2. Please check your config and if you can't find an issue with it, provide a proper reproducer. I'm closing for now. I'll reopen if you can provide a reproducer.
That's a wrong usage of maven list options. <jvmArgs>
<jvmArg>--add-opens=java.base/java.lang=ALL-UNNAMED</jvmArg>
</jvmArgs> But again, this is not supposed to be necessary when using gatling-maven-plugin version 4.10.2.
@joloto That's not a supported usage. We can't help with that. I recommend you stick to the official and documented usages. |
@slandelle Thanks for your response! I double checked, we are using So this works:
And this works:
But this doesn't work anymore:
It looks like although the javadoc of |
It's a javadoc issue, as the replacing vs overriding is controlled by the |
It feels a bit counter intuitive but this works:
And setting
Results is in the exception. Might indeed be good to change the default behavior where the plugin controls the JVM options Gatling needs to run and the user (me in this case) can add additional JVM options. In case the user wants full control he can set Could be helpful as well to add a not to the upgrade instructions so that users who are customizing the JVM options know how to proceed. |
I've release gatling-maven-plugin 4.11.0, see gatling/gatling-maven-plugin@44129f2 |
Upgrading our Gatling tests from 3.12.0 to 3.13.1 results in the following error:
We are using Gatling in combination with the
gatling-maven-plugin
version 4.10.2.As a workaround I tried to add the --add-opens flag but that results in the same error.
The text was updated successfully, but these errors were encountered: