On Thu, 8 Jun 2023 18:56:28 GMT, Mandy Chung <mch...@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.

I can confirm the change works on GraalVM but it would make sense to also test 
it directly in the JDK by creating a test JDK image with jlink that includes VM 
options.

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

PR Comment: https://git.openjdk.org/jdk/pull/14383#issuecomment-1583176634

Reply via email to