[
https://issues.jboss.org/browse/MODCLUSTER-292?page=com.atlassian.jira.pl...
]
Radoslav Husar edited comment on MODCLUSTER-292 at 5/30/16 5:18 PM:
--------------------------------------------------------------------
JGroups as of commit 3a47b9174b02bdccf5a382c585f4a42d64bebe93 [1] also binds to mcast
address on Mac OS X, the current logic is:
{noformat}
can_bind_to_mcast_addr=(Util.checkForLinux() && !Util.checkForAndroid())
|| Util.checkForSolaris()
|| Util.checkForHp()
|| Util.checkForMac();
{noformat}
[1]
https://github.com/belaban/JGroups/commit/3a47b9174b02bdccf5a382c585f4a42...
was (Author: rhusar):
JGroups as of commit 6359e3fbfbc82967ad1d45f12f9f4b9145419911 also binds to mcast address
on Mac OS X, the current logic is:
{noformat}
can_bind_to_mcast_addr=(Util.checkForLinux() && !Util.checkForAndroid())
|| Util.checkForSolaris()
|| Util.checkForHp()
|| Util.checkForMac();
{noformat}
Use "MulticastSocket(SocketAddress bindaddr)" on Solaris
--------------------------------------------------------
Key: MODCLUSTER-292
URL:
https://issues.jboss.org/browse/MODCLUSTER-292
Project: mod_cluster
Issue Type: Task
Affects Versions: 1.2.0.Final
Reporter: Brian Stansberry
Assignee: Radoslav Husar
MulticastSocketFactoryImpl determines whether it can use the
"MulticastSocket(SocketAddress bindaddr)" constructor variant based on this:
this.linuxlike = (value != null) &&
(value.toLowerCase().startsWith("linux") ||
value.toLowerCase().startsWith("mac") ||
value.toLowerCase().startsWith("hp"));
JGroups when doing a similiar test also allows Solaris via including
(value.toLowerCase().startsWith("sun") in the test.
(Tangent: JGroups doesn't allow "mac", which sounds like a good topic for
discussion between the respective teams.)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)