summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-08-13 12:21:29 -0230
committerDwayne Boone <dwayne@zeroc.com>2015-08-13 12:21:29 -0230
commitd71e80da796071b18ee77c848e90febdc2e59250 (patch)
tree97d4225e3a24e2a37574a24c025d20b4fa54beb4 /java/src
parentMinor fix to Expect script (diff)
downloadice-d71e80da796071b18ee77c848e90febdc2e59250.tar.bz2
ice-d71e80da796071b18ee77c848e90febdc2e59250.tar.xz
ice-d71e80da796071b18ee77c848e90febdc2e59250.zip
ICE-6407 java udp test failure
Diffstat (limited to 'java/src')
-rw-r--r--java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java b/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java
index 5a3083af9e5..5ecac1b716a 100644
--- a/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java
+++ b/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java
@@ -555,11 +555,6 @@ final class UdpTransceiver implements Transceiver
java.util.Collections.list(java.net.NetworkInterface.getNetworkInterfaces());
for(java.net.NetworkInterface iface : interfaces)
{
- if(!iface.supportsMulticast())
- {
- continue;
- }
-
boolean hasProtocolAddress = false;
java.util.List<java.net.InetAddress> addresses =
java.util.Collections.list(iface.getInetAddresses());
@@ -583,10 +578,8 @@ final class UdpTransceiver implements Transceiver
if(!join)
{
throw new Ice.SocketException(new IllegalArgumentException(
- "There aren't any interfaces that support multicast, " +
- "or the interfaces that support it\n" +
- "are not configured for the group protocol. " +
- "Cannot join the mulitcast group."));
+ "There are no interfaces that are configured for the group protocol.\n" +
+ "Cannot join the multicast group."));
}
}
}