Hi all, I think the test java/net/ipv6tests/TcpTest.java should report jtreg.SkippedException when there no IPV4 addresses or no IPV6 addresses, rather than just print a messge and then report test run passes.
Change has been verified locally, both enable ipv6 and disable ipv6 on linux. When enable ipv6, test run passes; when disable ipv6, test report jtreg.SkippedException as expected. Test-fix only, no risk. ------------- Commit messages: - 8362855: Test java/net/ipv6tests/TcpTest.java should report SkippedException when there no ia4addr or ia6addr Changes: https://git.openjdk.org/jdk/pull/26459/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26459&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8362855 Stats: 7 lines in 1 file changed: 3 ins; 2 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/26459.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26459/head:pull/26459 PR: https://git.openjdk.org/jdk/pull/26459