mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8213911: Use example.com in java.net and other examples
Reviewed-by: prappo, chegar, rriggs, mullan
This commit is contained in:
parent
197b669f83
commit
5d1cc7fc01
9 changed files with 39 additions and 39 deletions
|
@ -1168,7 +1168,7 @@ class InetAddress implements java.io.Serializable {
|
|||
* No name service is checked for the validity of the address.
|
||||
*
|
||||
* <p> The host name can either be a machine name, such as
|
||||
* "{@code java.sun.com}", or a textual representation of its IP
|
||||
* "{@code www.example.com}", or a textual representation of its IP
|
||||
* address.
|
||||
* <p> No validity checking is done on the host name either.
|
||||
*
|
||||
|
@ -1213,7 +1213,7 @@ class InetAddress implements java.io.Serializable {
|
|||
* Determines the IP address of a host, given the host's name.
|
||||
*
|
||||
* <p> The host name can either be a machine name, such as
|
||||
* "{@code java.sun.com}", or a textual representation of its
|
||||
* "{@code www.example.com}", or a textual representation of its
|
||||
* IP address. If a literal IP address is supplied, only the
|
||||
* validity of the address format is checked.
|
||||
*
|
||||
|
@ -1259,7 +1259,7 @@ class InetAddress implements java.io.Serializable {
|
|||
* based on the configured name service on the system.
|
||||
*
|
||||
* <p> The host name can either be a machine name, such as
|
||||
* "{@code java.sun.com}", or a textual representation of its IP
|
||||
* "{@code www.example.com}", or a textual representation of its IP
|
||||
* address. If a literal IP address is supplied, only the
|
||||
* validity of the address format is checked.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue