> `InetAddress.getLocalHost()` may select a non-loopback address, whose > traffic may be subject to filtering rules. This can cause the test to > time out (since the receiver doesn't get the packets), causing the test > to fail. > > Since all communication in these tests is local, this patch makes use of > `InetAddress.getLoopbackAddress()` instead. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Ashay Rane has updated the pull request incrementally with one additional commit since the last revision: Update copyright years ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33978/files - new: https://git.openjdk.org/jdk/pull/33978/files/637d1d08..b416d120 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33978&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33978&range=00-01 Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/33978.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33978/head:pull/33978 PR: https://git.openjdk.org/jdk/pull/33978
