aboutsummaryrefslogtreecommitdiff
path: root/test/java/nio/channels
diff options
context:
space:
mode:
authorlana <none@none>2013-03-15 23:31:19 -0700
committerlana <none@none>2013-03-15 23:31:19 -0700
commit610eba794fce184e16ea108015e25251be24fb8f (patch)
treee5805e5148e1480865d7f8a93354ff2c09e6c08a /test/java/nio/channels
parent4f8cf49929ab61ee930cec73c3a76ab336d22923 (diff)
parent95fee2c4923baabfd6d4c6b42cb5c124a6689e58 (diff)
Merge
Diffstat (limited to 'test/java/nio/channels')
-rw-r--r--test/java/nio/channels/DatagramChannel/SendToUnresolved.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/java/nio/channels/DatagramChannel/SendToUnresolved.java b/test/java/nio/channels/DatagramChannel/SendToUnresolved.java
index c916b2ef8..7b9ec6a9a 100644
--- a/test/java/nio/channels/DatagramChannel/SendToUnresolved.java
+++ b/test/java/nio/channels/DatagramChannel/SendToUnresolved.java
@@ -42,7 +42,7 @@ public class SendToUnresolved {
try {
dc.send(bb, sa);
throw new RuntimeException("Expected exception not thrown");
- } catch (IOException e) {
+ } catch (IOException | UnresolvedAddressException e) {
// Correct result
}
dc.close();