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.
------------- Commit messages: - 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options Changes: https://git.openjdk.org/jdk/pull/14383/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14383&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8309303 Stats: 37 lines in 1 file changed: 33 ins; 1 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/14383.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14383/head:pull/14383 PR: https://git.openjdk.org/jdk/pull/14383