On Mon, 21 Nov 2022 01:11:55 GMT, David Holmes <dhol...@openjdk.org> wrote:

> > tools/launcher/ArgsFileTest.java was working because it didn't contain any 
> > test with --disable-@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-@files 
--version' and verifying successful VM execution.

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

PR: https://git.openjdk.org/jdk/pull/11183

Reply via email to