RFR: 8319648: java/lang/SecurityManager tests ignore vm flags

Sean Mullan mullan at openjdk.org
Mon Feb 26 15:23:54 UTC 2024


On Thu, 15 Feb 2024 17:06:25 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

> In this PR I updated the tests to use the newer ProcessTools.createTestJavaProcessBuilder methods to pass VM options to child processes.

test/jdk/java/lang/System/SecurityManagerWarnings.java line 135:

> 133:         if (prop == null) {
> 134:             pb = new ProcessBuilder(
> 135:                     JDKToolFinder.getJDKTool("java"),

You can remove the import of `JDKToolFinder` on line 31 now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17878#discussion_r1502765515


More information about the core-libs-dev mailing list