RFR: 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options

Alan Bateman alanb at openjdk.org
Fri Jun 9 10:49:39 UTC 2023


On Thu, 8 Jun 2023 18:56:28 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> The `RuntimeArguments` test verifies the VM arguments returned by `jdk.internal.misc.VM::getRuntimeArguments` as expected.    This test fails when running with GraalVM as it was created with `jlink --add-options` and the application will always be launched with that additional set of VM options.  This PR updates the test to read if 'jdk/internal/vm/options` is present and includle those options in the expected list.

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/14383#pullrequestreview-1471711972


More information about the core-libs-dev mailing list