8168881: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails

Reviewed-by: prr
This commit is contained in:
Sergey Bylokhov 2016-11-02 23:05:52 +03:00
parent 599879e45f
commit bc879dff7a

View File

@ -97,7 +97,8 @@ public final class OpenNonIntegralNumberOfSampleframes {
System.err.println("af = " + af);
System.err.println("bufferSize = " + bufferSize);
throw new RuntimeException("Expected exception is not thrown");
} catch (final LineUnavailableException ignored) {
} catch (IllegalArgumentException
| LineUnavailableException ignored) {
// the test is not applicable
}
}