Integrated: 8356945: jdk/jfr/event/os/TestProcessStart failed on Windows Subsystem for Linux
Chihiro Ito
cito at openjdk.org
Wed May 21 14:07:55 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
This pull request has now been integrated.
Changeset: b63ec0ab
Author: Chihiro Ito <cito at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b63ec0ab584cb941b44a39b6ff130224ed444b60
Stats: 4 lines in 1 file changed: 2 ins; 1 del; 1 mod
8356945: jdk/jfr/event/os/TestProcessStart failed on Windows Subsystem for Linux
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/25227
More information about the hotspot-jfr-dev
mailing list