RFR: 8356945: jdk/jfr/event/os/TestProcessStart failed on Windows Subsystem for Linux

Erik Gahlin egahlin at openjdk.org
Wed May 21 13:46:52 UTC 2025


On Wed, 14 May 2025 13:48:42 GMT, Chihiro Ito <cito at openjdk.org> wrote:

> Currently, when this test is run on Windows Subsystem for Linux, dir is executed as an external process.
> However, dir is a cmd.exe command, and dir.exe does not exist, so the test fails as shown below.
> 
> ----------System.out:(0/0)----------
> ----------System.err:(19/2649)*----------
> java.io.IOException: Cannot run program "dir" (in directory "D:\\dev\\jdk\\build\\windows-x86_64-server-release\\test-support\\jtreg_test_jdk_jdk_jfr_event_os_TestProcessStart_java\\scratch\\0\."): CreateProcess error=2, The system cannot find the file specified

Looks reasonable

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

Marked as reviewed by egahlin (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25227#pullrequestreview-2857798121


More information about the hotspot-jfr-dev mailing list