Hi all, `ProcessTools.createTestJavaProcessBuilder(String... command)` will call `jdk.test.lib.Utils#getTestJavaOpts`, so remove the duplicate vm flags. Trivial fix.
Thanks! ------------- Commit messages: - 8362533: Tests sun/management/jmxremote/bootstrap/* duplicate VM flags Changes: https://git.openjdk.org/jdk/pull/26555/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26555&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8362533 Stats: 12 lines in 3 files changed: 0 ins; 8 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/26555.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26555/head:pull/26555 PR: https://git.openjdk.org/jdk/pull/26555