diff --git a/src/java.base/share/classes/java/net/InetAddress.java b/src/java.base/share/classes/java/net/InetAddress.java index 7e0c39f9111..5ed8c73c919 100644 --- a/src/java.base/share/classes/java/net/InetAddress.java +++ b/src/java.base/share/classes/java/net/InetAddress.java @@ -142,12 +142,12 @@ import static java.net.spi.InetAddressResolver.LookupPolicy.IPV6_FIRST; * *
* - * For IPv4 address format, please refer to Inet4Address#format; For IPv6 - * address format, please refer to Inet6Address#format. + * For IPv4 address format, please refer to the supported + * {@linkplain Inet4Address##format IPv4 address textual representations}; + * For IPv6 address format, please refer to the supported + * {@linkplain Inet6Address##format IPv6 address textual representations}. * - *
There is a couple of
+ * There are a couple of
* System Properties affecting how IPv4 and IPv6 addresses are used.
*
* Host Name Resolution