Integrated: 8359735: [Ubuntu 25.10] java/lang/ProcessBuilder/Basic.java, java/lang/ProcessHandle/InfoTest.java fail due to rust-coreutils
Vladimir Petko
vpetko at openjdk.org
Fri Jun 20 13:54:33 UTC 2025
On Mon, 16 Jun 2025 22:49:02 GMT, Vladimir Petko <vpetko at openjdk.org> wrote:
> To accommodate systems like Ubuntu 25.10 that use Rust coreutils, this PR updates tests that previously assumed BusyBox was the only environment to use symlinks for core utilities.
>
> Changes:
> - `java/lang/ProcessBuilder/Basic.java`: The test is updated to simply verify that `/bin/true `and `/bin/false` are symlinks, removing the hardcoded check for a /bin/busybox target.
> - ` java/lang/ProcessHandle/InfoTest.java`: The test logic is relaxed. It now confirms that `/bin/sleep` is a symlink and then uses the symlink's target as the expected executable name.
This pull request has now been integrated.
Changeset: c6ab63d3
Author: Vladimir Petko <vpetko at openjdk.org>
Committer: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c6ab63d306511c43622fc1f37e1aed6d8abaaa09
Stats: 9 lines in 2 files changed: 2 ins; 0 del; 7 mod
8359735: [Ubuntu 25.10] java/lang/ProcessBuilder/Basic.java, java/lang/ProcessHandle/InfoTest.java fail due to rust-coreutils
Reviewed-by: rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/25838
More information about the core-libs-dev
mailing list