-
Bug
-
Resolution: Fixed
-
P4
-
7u4
-
b24
-
os_x
A DatagramChannel is bound to a specific local address, connected, and then disconnect is invoked to dissolve the association. On macOS the disconnect rebinds the socket to the wildcard address.
The linked test case fails with:
java.lang.AssertionError: local address after disconnect should be /127.0.0.1:59449 found /0:0:0:0:0:0:0:0:59449
The linked test case fails with:
java.lang.AssertionError: local address after disconnect should be /127.0.0.1:59449 found /0:0:0:0:0:0:0:0:59449
- blocks
-
JDK-8230211 Prepare DatagramSocket for alternative DatagramSocketImpl
- Resolved
- duplicates
-
JDK-7141822 java/nio/channels/DatagramChannel/ChangingAddress.java failing on OS X
- Closed
- relates to
-
JDK-8231258 (dc) DatagramChannel::connect change the local address type to IPv6 (macOS)
- Open
-
JDK-8231261 (dc) Write a test to check local and remote addresses after calling DatagramChannel::connect and DatagramChannel::disconnect
- Resolved
- links to