aboutsummaryrefslogtreecommitdiff
path: root/test/java/nio/channels
diff options
context:
space:
mode:
authorchegar <none@none>2012-11-07 14:26:41 +0000
committerchegar <none@none>2012-11-07 14:26:41 +0000
commit31724fb5ddf74aa3eaa7371f2c406cc9f7266e89 (patch)
tree9ec22966bc98fb62555141e3c212024d7ce50806 /test/java/nio/channels
parentd38ab763d0ae43b700c79308db935f368bea39c3 (diff)
7201071: InetSocketAddress serialization issue
Reviewed-by: alanb, michaelm, skoivu
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();