changeset 16130:1292ba86a8d4

8168881: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails Reviewed-by: prr
author serb
date Wed, 02 Nov 2016 23:05:52 +0300
parents f33189fbe5f4
children dd8ba00b9f97
files test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java	Wed Nov 02 11:07:16 2016 -0700
+++ b/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
             }
         }