7161881: (dc) DatagramChannel.bind(null) fails if IPv4 socket and running with preferIPv6Addresses=true

Chris Hegarty chris.hegarty at oracle.com
Wed Jun 6 14:12:27 PDT 2012


Interesting bug. Changes look ok to me.

-Chris.

On 06/06/12 21:47, Rob McKenna wrote:
> Hi folks,
>
> Small bug with in DatagramChannel where
> Java.net.preferIPv6Addresses=true is causing bind(null) to use an ipv6
> address even though we're connected to an ipv4 socket.
>
> Additional context:
> http://mail.openjdk.java.net/pipermail/nio-dev/2012-April/001632.html
>
> Webrev:
> http://cr.openjdk.java.net/~robm/7161881/webrev.01/
>
> -Rob


More information about the nio-dev mailing list