RFR: 8255604: java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect
Michael McMahon
michaelm at openjdk.java.net
Thu Oct 29 17:55:42 UTC 2020
On Thu, 29 Oct 2020 17:29:28 GMT, Conor Cleary <ccleary at openjdk.org> wrote:
> Recent fixes to Connect.java caused tier2 test failures on windows-x64 operating systems. This was caused by the Actor in the test attempting to connect to a wildcard address which it attained from the Reactor's getSocketAddress(), which in turn was set to the wildcard address in the Reactor constructor. This has been fixed by using the loopback address and an ephermal port number (0) int the Reactor's bind() operation.
Marked as reviewed by michaelm (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/939
More information about the nio-dev
mailing list