In this PR I updated the tests to use the newer ProcessTools.createTestJavaProcessBuilder() methods to launch child processes. This method ensures that VM options are passed to subprocesses.
------------- Commit messages: - 8319673: Few security tests ignore VM flags Changes: https://git.openjdk.org/jdk/pull/17877/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17877&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8319673 Stats: 51 lines in 4 files changed: 12 ins; 13 del; 26 mod Patch: https://git.openjdk.org/jdk/pull/17877.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17877/head:pull/17877 PR: https://git.openjdk.org/jdk/pull/17877