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

Daniel Fuchs dfuchs at openjdk.java.net
Tue Nov 10 17:11:02 UTC 2020


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.

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

Commit messages:
 - 8256146: Cleanup test/jdk/java/nio/channels/DatagramChannel/Connect.java

Changes: https://git.openjdk.java.net/jdk/pull/1144/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1144&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256146
  Stats: 17 lines in 1 file changed: 15 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1144.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1144/head:pull/1144

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


More information about the nio-dev mailing list