RFR: 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
Tue Jun 17 01:55:23 UTC 2025
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.
-------------
Commit messages:
- chore: update copyright year
- fix: read filename of the symbolic link
- fix: relax test condition for TrueExe and FalsExe
Changes: https://git.openjdk.org/jdk/pull/25838/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25838&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8359735
Stats: 9 lines in 2 files changed: 2 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/25838.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25838/head:pull/25838
PR: https://git.openjdk.org/jdk/pull/25838
More information about the core-libs-dev
mailing list