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

Paul Hohensee phh at openjdk.org
Mon Mar 24 16:49:17 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.

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3293#pullrequestreview-2711058503


More information about the jdk-updates-dev mailing list