-
Bug
-
Resolution: Fixed
-
P4
-
7u4, 11
-
b24
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8351663 | 11-pool-oracle | Weibing Xiao | P4 | Closed | Withdrawn |
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
- backported by
-
JDK-8351663 (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
-
- Closed
-
- 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
(1 links to)