On Thu, 19 Nov 2026 19:36:51 GMT, Ashay Rane <[email protected]> wrote:

> `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).

Please update the copyright years.

Other than that, looks good, and fixes the timeout as described.

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

PR Review: https://git.openjdk.org/jdk/pull/33978#pullrequestreview-5991777360

Reply via email to