changeset 5568:933b76318e8c

8003402: (dc) test/java/nio/channels/DatagramChannel/SendToUnresovled.java failing after 7u11 cleanup issues Reviewed-by: chegar
author ewendeli
date Wed, 14 Nov 2012 16:46:37 +0100
parents c4f42ca9fb16
children dc0600ed6c80
files test/java/nio/channels/DatagramChannel/SendToUnresolved.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/channels/DatagramChannel/SendToUnresolved.java	Tue Nov 13 23:33:57 2012 +0400
+++ b/test/java/nio/channels/DatagramChannel/SendToUnresolved.java	Wed Nov 14 16:46:37 2012 +0100
@@ -42,7 +42,7 @@
         try {
             dc.send(bb, sa);
             throw new RuntimeException("Expected exception not thrown");
-        } catch (IOException e) {
+        } catch (IOException | UnresolvedAddressException e) {
             // Correct result
         }
         dc.close();