Code Review Request: 7144274: [macosx] Default IPv6 multicast interface is not being set when calling MulticastSocket.joinGroup()

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 13 23:46:02 PST 2012


On 13/02/2012 22:03, Kurchi Hazra wrote:
>
> Hi,
>
> Before joining multicast groups with IPv6 addresses on Mac OS, the
> network interface to be used should also be set correctly. This
> change enables using a default network interface on Mac OS X if no 
> interface
> has been specified.
>
> Bug:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7144274
>
> Webrev: http://cr.openjdk.java.net/~khazra/7144274/webrev.01/
Kurchi - I think you should include an #else return 0; in 
getDefaultScopeID as otherwise I will guess you will get warnings when 
this code is compiled on other platforms.

-Alan.


More information about the macosx-port-dev mailing list