On Fri, 9 Feb 2024 23:40:00 GMT, Dan Lutker <dlut...@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

Reply via email to