> Hi all, > > The test log from java/net/InetAddress/ptr/Lookup.java shows that > `lookupWithIPv4Prefer` and `reverseWithIPv4Prefer` both print > "192.0.43.7:192.0.43.7" when this test fails intermittently. And the output > should be "192.0.43.7:icann.org" when this test run passed. The intermittent > fails seems that `InetAddress.getHostFromNameService` can not resolve the > fully qualified domain name for the given IP address, and it return the > textual representation of the IP address, especially the network in unstable. > > This intermittemt failure is not trigger by a JVM bug, so this PR throw > jtreg.SkippedException rather than report test failure. Change has been > verified locally both on linux-x64 and linux-aarch64. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
sendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision: - Merge branch 'openjdk:master' into jbs8380124 - Merge branch 'openjdk:master' into jbs8380124 - 8380124: Test java/net/InetAddress/ptr/Lookup.java fails intermittently due to reverse lookup failed ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30259/files - new: https://git.openjdk.org/jdk/pull/30259/files/b4cfd072..e61429d2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30259&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30259&range=01-02 Stats: 415747 lines in 5464 files changed: 198716 ins; 189747 del; 27284 mod Patch: https://git.openjdk.org/jdk/pull/30259.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30259/head:pull/30259 PR: https://git.openjdk.org/jdk/pull/30259
