Integrated: 8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails

Jaikiran Pai jpai at openjdk.org
Thu Aug 10 10:24:32 UTC 2023


On Thu, 3 Aug 2023 07:35:10 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 0cb9ab04
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0cb9ab04f4c408bce7c4bc0e028fa9d4959abd79
Stats:     29 lines in 1 file changed: 14 ins; 4 del; 11 mod

8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails

Reviewed-by: dfuchs, aefimov, alanb

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

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


More information about the net-dev mailing list