hg: jdk8/tl/jdk: 7084030: DatagramSocket.getLocalAddress inconsistent on XP/2003 when IPv6 enabled and socket is connected

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Sep 27 02:41:39 PDT 2011


Changeset: 7f1aca641910
Author:    chegar
Date:      2011-09-26 11:48 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7f1aca641910

7084030: DatagramSocket.getLocalAddress inconsistent on XP/2003 when IPv6 enabled and socket is connected
Summary: Use family of connected IP address to retrieve desired local address of the datagram socket
Reviewed-by: chegar
Contributed-by: kurchi.subhra.hazra at oracle.com

! src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java
! src/windows/classes/java/net/TwoStacksPlainDatagramSocketImpl.java
! src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c
+ test/java/net/DatagramSocket/ChangingAddress.java




More information about the security-dev mailing list