Integrated: 8255604: java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect
Conor Cleary
ccleary at openjdk.java.net
Thu Oct 29 19:10:46 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.
This pull request has now been integrated.
Changeset: d5138d1f
Author: Conor Cleary <ccleary at openjdk.org>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d5138d1f
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8255604: java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect
Reviewed-by: dfuchs, michaelm
-------------
PR: https://git.openjdk.java.net/jdk/pull/939
More information about the nio-dev
mailing list