[jdk17u-dev] Integrated: 8350540: [17u,11u] B8312065.java fails Network is unreachable

SendaoYan syan at openjdk.org
Thu May 8 08:36:54 UTC 2025


On Sun, 23 Feb 2025 09:27:24 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Test test/jdk/java/net/Socket/B8312065.java fails on some machines. Test assume 192.168.255.255 is not in use, but on some machines linux command `ping 192.168.255.255` will report "ping: connect: Network is unreachable" failure, so this test will report "java.net.ConnectException: Network is unreachable (connect failed)" failure. And this failure is not caused by JDK bug, so I think it's better throw `jtreg.SkippedException` when this failure reported.
> 
> Change has been verified locally, test-fix only to make test more robustness, no risk.

This pull request has now been integrated.

Changeset: 75fa2e7c
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/75fa2e7c44d52874fa0054889f1240e0c58fcfd1
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

8350540: [17u,11u] B8312065.java fails Network is unreachable

Reviewed-by: phh

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3293


More information about the jdk-updates-dev mailing list