< prev index next >

test/javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java

Print this page

        

@@ -95,11 +95,12 @@
                     e.printStackTrace();
                 }
                 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
             }
         }
     }
 }
< prev index next >