]
Radoslav Husar commented on JGRP-1878:
--------------------------------------
I may have tracked down the JDK8 changes that are responsible for the behavior change we
are observing:
Issues:
What this is esentially doing, they are now setting IP_MULTICAST_ALL=0 for
DatagramChannels on Linux which is supported since kernel version 2.6.31
(
).
With JDK8 binding to different addresses on the same machine, the processes are not going
to receive each other's messages.
Some further reading:
Multicast discovery does not work on JDK8
-----------------------------------------
Key: JGRP-1878
URL:
https://issues.jboss.org/browse/JGRP-1878
Project: JGroups
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.2.12, 3.5
Environment: OpenJDK8, OracleJDK8u40
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Blocker
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..