RFR: 8304834: Fix wrapper insertion in TestScaffold.parseArgs(String args[])

David Holmes dholmes at openjdk.org
Mon Mar 27 05:16:29 UTC 2023


On Fri, 24 Mar 2023 06:27:02 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The problem was that wrapper inserted it's arguments before vm options because didn't expect them in the args.

Sorry still not sure what you mean by that. Do you mean the `--enable-preview` arg? That was appended to VM args:

argInfo.targetVMArgs += "--enable-preview ";

which seems perfectly fine.

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

PR Comment: https://git.openjdk.org/jdk/pull/13170#issuecomment-1484508003


More information about the serviceability-dev mailing list