In `java.net.InetAddressImpl::lookupAllHostAddr` implementations, we provide 
the `AI_CANONNAME` hint, yet don't use the populated `ai_canonname` field. Stop 
querying for `AI_CANONNAME`.

See the ticket for conducted experiments and test results.

---------
- [X] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Remove the unused `AI_CANONNAME` hint passed to `getaddrinfo()`

Changes: https://git.openjdk.org/jdk/pull/33267/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33267&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8392344
  Stats: 6 lines in 4 files changed: 0 ins; 4 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/33267.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33267/head:pull/33267

PR: https://git.openjdk.org/jdk/pull/33267

Reply via email to