jdk17u-dev
jdk17u-dev copied to clipboard
8350540: [17u,11u] B8312065.java fails Network is unreachable
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.
Progress
- [x] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
- [x] Change must not contain extraneous whitespace
- [ ] JDK-8350540 needs maintainer approval
- [x] Commit message must refer to an issue
Issue
- JDK-8350540: [17u,11u] B8312065.java fails Network is unreachable (Bug - P4)
Reviewers
- Paul Hohensee (@phohensee - Reviewer)
Reviewing
Using git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3293/head:pull/3293
$ git checkout pull/3293
Update a local copy of the PR:
$ git checkout pull/3293
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3293/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3293
View PR using the GUI difftool:
$ git pr show -t 3293
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3293.diff