-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
EXTRA_OPTIONS should append instead of prepend to the existing JVM options #4849
Comments
@annaibm could you take a look at this issue? Thanks |
Please check where EXTRA_OPTIONS is contrustured and used. For example: |
annaibm
added a commit
to annaibm/aqa-tests
that referenced
this issue
Nov 10, 2023
-Updated in `JavaTestUtil.java` file and `JavaTestRunner.java` file to append user specified jvmOpts to exisitng jvm options -Appended jvm options to file contents below:- `fileContent += "set jck.env.compiler.compRefExecute.otherOpts \" " + extraJvmOptions + jvmOpts + " \"" + ";\n";` `fileContent += "set jck.env.devtools.refExecute.otherOpts \" " + extraJvmOptions + " " + jvmOpts + " \"" + ";\n";` Added the null pointer check for : - `other.options` and `jvm.options` resolves : adoptium#4849 Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
annaibm
added a commit
to annaibm/aqa-tests
that referenced
this issue
Nov 10, 2023
- Append user specified jvmOpts to exisitng jvm options - Added the null pointer check for other options and jvm options resolves : adoptium#4849 Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
smlambert
pushed a commit
that referenced
this issue
Nov 17, 2023
- Append user specified jvmOpts to exisitng jvm options - Added the null pointer check for other options and jvm options resolves : #4849 Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
The issue in openjdk did not get resolved yet. |
annaibm
added a commit
to annaibm/aqa-tests
that referenced
this issue
Nov 22, 2023
- Append user specified jvmOpts to exisitng jvm options - Added the null pointer check for other options and jvm options resolves : adoptium#4849 Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the
EXTRA_OPTIONS
could be overridden by an existing JVM option, for example,-Xdump:java:events=vmstop
is specified atEXTRA_OPTIONS
, and the actual JVM command is-Xdump:java:events=vmstop ... -Xdump:system:none ...
. The option supplied has no effect.The
EXTRA_OPTIONS
should append instead of prepend to the existing JVM options.FYI @llxia
The text was updated successfully, but these errors were encountered: