RFR: 8256146: Cleanup test/jdk/java/nio/channels/DatagramChannel/Connect.java

Alan Bateman alanb at openjdk.java.net
Thu Nov 12 19:37:57 UTC 2020


On Tue, 10 Nov 2020 17:06:11 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Hi,
> 
> Please find here a trivial cleanup change for  test/jdk/java/nio/channels/DatagramChannel/Connect.java
> The change caters for possible evolution of the test - if we ever decided to bind the Reactor to the wildcard address;
> (the reactor is currently bound to the loopback).
> 
> I would usually not bother but I had this experiment in my local workspace: it could as well be pushed as it cleans up the Actor logic which no longer has to depend on the fact that the Reactor is not bound to the wildcard.

Looks okay.

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1144


More information about the nio-dev mailing list