RFR: 8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails [v2]

Jaikiran Pai jpai at openjdk.org
Thu Aug 3 12:14:08 UTC 2023


> Can I please get a review of this change which updates the javadoc of `java.net.InetAddress.getCanonicalHostName()` method to clarify its semantics? This addresses https://bugs.openjdk.org/browse/JDK-8313239.
> 
> This a javadoc only change and the documentation is updated to match the current implementation. A CSR will be drafted for this change.

Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

  Daniel's review suggestion
  
  Co-authored-by: Daniel Fuchs <67001856+dfuch at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15134/files
  - new: https://git.openjdk.org/jdk/pull/15134/files/bc599f05..9f214513

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15134&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15134&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/15134.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15134/head:pull/15134

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


More information about the net-dev mailing list