On Wed, 14 May 2025 03:58:41 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> The intent is that this should always run on a system with sound. It just 
>> might happen that it isn't, so this isn't a case to start adding tests. 
>> That might be better done by feeding it unplayable data.
>
> Why do not check this case as well?

But it is part of the new spec:
>     * if the implementation does not find a suitable output device for the 
> data,
>     * playing the clip will be a no-op.

It is better to cover it if we have a chance than just exiting.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093673788

Reply via email to