RFR: 8330621: Make 5 compiler tests use ProcessTools.executeProcess

Evgeny Nikitin enikitin at openjdk.org
Fri Apr 19 10:15:21 UTC 2024


Said tests use simple `new ProcessBuilder` and its `start` method to start secondary processes.

As stated in [JDK-8174768](https://bugs.openjdk.org/browse/JDK-8174768), we try to have more information about started secondary processes and make the execution more controllable. This PR makes those tests use ProcessTools.executeProcess instead of using the `.start` method.

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

Commit messages:
 - 8330621: Make 5 compiler tests use ProcessTools.executeProcess

Changes: https://git.openjdk.org/jdk/pull/18856/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18856&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330621
  Stats: 17 lines in 5 files changed: 5 ins; 0 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/18856.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18856/head:pull/18856

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


More information about the hotspot-compiler-dev mailing list