RFR: 8325576: java/lang/ProcessHandle/InfoTest.java fails on systems with coreutils with --enable-single-binary
Roger Riggs
rriggs at openjdk.org
Tue Feb 13 17:56:53 UTC 2024
On Fri, 9 Feb 2024 23:40:00 GMT, Dan Lutker <dlutker at openjdk.org> wrote:
> Ran the test on AmazonLinux 2 which has multiple binaries from coreutils package and no coreutils executable as well as AmazonLinux 2023 that uses `--enable-single-binary`
test/lib/jdk/test/lib/Platform.java line 145:
> 143: }
> 144:
> 145: public static boolean isOSX() {
This seems like a real hack. Is there really no better way to identity how sleep is implemented.
I'd probably favor an alternative that accepts multiple values for the expected value.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17798#discussion_r1488338803
More information about the core-libs-dev
mailing list