RFR: 8359735: [Ubuntu 25.10] java/lang/ProcessBuilder/Basic.java, java/lang/ProcessHandle/InfoTest.java fail due to rust-coreutils

Roger Riggs rriggs at openjdk.org
Fri Jun 20 13:54:32 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.

Tier1-3 passed the Oracle CI.

(not sure if the previous /sponsor was seen by the bots)

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

PR Comment: https://git.openjdk.org/jdk/pull/25838#issuecomment-2991722883
PR Comment: https://git.openjdk.org/jdk/pull/25838#issuecomment-2991724042


More information about the core-libs-dev mailing list