8168881: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails
authorserb
Wed, 02 Nov 2016 23:05:52 +0300
changeset 42189 d3cb1015f025
parent 42188 471f232f8ea8
child 42190 26d4a824fdea
8168881: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails Reviewed-by: prr
jdk/test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java
--- a/jdk/test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java	Wed Nov 02 11:07:16 2016 -0700
+++ b/jdk/test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java	Wed Nov 02 23:05:52 2016 +0300
@@ -97,7 +97,8 @@
                 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
             }
         }