[
https://issues.jboss.org/browse/JGRP-1878?page=com.atlassian.jira.plugin....
]
Radoslav Husar edited comment on JGRP-1878 at 9/5/14 8:58 AM:
--------------------------------------------------------------
{quote}So if we had IP_MULTICAST_ALL set to 1, we'd get the old behavior ?{quote}
If I am looking at the appropriate API for this, the problem is that this API is available
only since JDK7:
http://docs.oracle.com/javase/7/docs/api/java/nio/channels/NetworkChannel...
Otherwise I don't see a clean way to do this on JDK6.
was (Author: rhusar):
{quote}So if we had IP_MULTICAST_ALL set to 1, we'd get the old behavior ?{quote}
If I am looking at the appropriate API for this, the problem is that this API is available
only since JDK7:
http://docs.oracle.com/javase/7/docs/api/java/nio/channels/NetworkChannel...
Otherwise there is no clean way to do this on JDK6.
Multicast discovery does not work on JDK8
-----------------------------------------
Key: JGRP-1878
URL:
https://issues.jboss.org/browse/JGRP-1878
Project: JGroups
Issue Type: Bug
Affects Versions: 3.2.12, 3.5
Environment: OpenJDK8, OracleJDK8u40
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Minor
Fix For: 3.2.14, 3.6
Attachments: mcast.java
Multicast discovery does not work on JDK8 when using different bind IP addresses. This
blocks EAP certification on JDK8.
Steps to reproduce with draw, switch to JDK8:
{noformat}
export IP_ADDR=127.0.0.1
./draw.sh
export IP_ADDR=192.168.1.10
./draw.sh
{noformat}
Everything works when binding to the same IP address or using JDK 6 or 7. Possibly a JDK8
bug..
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)