RFR: 8319673: Few security tests ignore VM flags [v3]

Weijun Wang weijun at openjdk.org
Fri Feb 16 13:55:54 UTC 2024


On Fri, 16 Feb 2024 13:13:05 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

>> 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.
>
> Matthew Donovan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated Compatibility.java to use newer Proctools methods to pass VM options to subprocesses.

The tests that used to call `createLimitedTestJavaProcessBuilder` intentionally avoid copying all the VM options so they can provide their own. Are you sure they should be modified?

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

PR Comment: https://git.openjdk.org/jdk/pull/17877#issuecomment-1948426083



More information about the security-dev mailing list