RFR: 8293041: --disable- at files option doesn't work and cause an error
Adam Sotona
asotona at openjdk.org
Mon Nov 21 08:03:25 UTC 2022
On Mon, 21 Nov 2022 01:11:55 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > tools/launcher/ArgsFileTest.java was working because it didn't contain any test with --disable- at files option verifying VM really starts
>
> What about the killswitch test ??
KillSwitch test did not construct valid command line, it didn't expect VM to start correctly and so it didn't test the VM exit value. KillSwitch test just checked expanded options presence in the debug log (before passing to ParseArguments).
I've added one simple test composing valid cmd line 'java --disable- at files --version' and verifying successful VM execution.
-------------
PR: https://git.openjdk.org/jdk/pull/11183
More information about the core-libs-dev
mailing list