RFR: 8334549: [Sound] Test timed out: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java

Sergey Bylokhov serb at openjdk.org
Wed Dec 10 17:42:47 UTC 2025


On Wed, 10 Dec 2025 17:15:00 GMT, Phil Race <prr at openjdk.org> wrote:

> This sound test appears to need the sound key which is needed so that it can be filtered (in or out) depending on whether sound resources / devices are available in a test environment.
> 
> This sound test passes (as tested many times) when run in such an environment, so I here add the key.

What is the exception that caused it to fail when no hardware is present on the system? This test was expected to verify that invalid parameters were passed to the method and that it should throw an IllegalArgumentException. Therefore, it should work both with and without audio devices.

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

PR Comment: https://git.openjdk.org/jdk/pull/28752#issuecomment-3638238006


More information about the client-libs-dev mailing list