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

The lone test failure (AssemblerX86.validate_other_vm) is unrelated (since it 
intermittently fails without this change) and it is being tracked here: 
https://bugs.openjdk.org/browse/JDK-8396723.

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

PR Comment: https://git.openjdk.org/jdk/pull/33978#issuecomment-7024553917

Reply via email to