RFR: 8316447: 8 sun/management/jmxremote tests ignore VM flags

Kevin Walls kevinw at openjdk.org
Thu Oct 5 16:29:43 UTC 2023


On Thu, 5 Oct 2023 16:00:21 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Thank you for your review and feedback. I removed private boolean jmxAgentStarted = false; The changes invocations to createTestJvm are needed because it added tested flags only.

OK thanks.
I was observing that we want to call ProcessTools.createTestJvm(), as it calls createJavaProcessBuilder(Utils.prependTestJavaOpts(command)).

When we have the arguments/command in a List, there is a createTestJvm method that takes a List, but here we convert to an array and pass that.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16048#issuecomment-1749264504


More information about the serviceability-dev mailing list