--- old/src/java.base/share/classes/java/net/HostPortrange.java 2018-11-26 13:32:47.078000000 -0800 +++ new/src/java.base/share/classes/java/net/HostPortrange.java 2018-11-26 13:32:46.902000000 -0800 @@ -60,7 +60,7 @@ HostPortrange(String scheme, String str) { // Parse the host name. A name has up to three components, the // hostname, a port number, or two numbers representing a port - // range. "www.sun.com:8080-9090" is a valid host name. + // range. "www.example.com:8080-9090" is a valid host name. // With IPv6 an address can be 2010:836B:4179::836B:4179 // An IPv6 address needs to be enclose in [] --- old/src/java.base/share/classes/java/net/InetAddress.java 2018-11-26 13:32:47.474000000 -0800 +++ new/src/java.base/share/classes/java/net/InetAddress.java 2018-11-26 13:32:47.298000000 -0800 @@ -1168,7 +1168,7 @@ * No name service is checked for the validity of the address. * *

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

No validity checking is done on the host name either. * @@ -1213,7 +1213,7 @@ * Determines the IP address of a host, given the host's name. * *

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 @@ * based on the configured name service on the system. * *

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. * --- old/src/java.base/share/classes/java/net/SocketPermission.java 2018-11-26 13:32:47.850000000 -0800 +++ new/src/java.base/share/classes/java/net/SocketPermission.java 2018-11-26 13:32:47.678000000 -0800 @@ -63,7 +63,7 @@ * or as "localhost" (for the local machine). * The wildcard "*" may be included once in a DNS name host * specification. If it is included, it must be in the leftmost - * position, as in "*.sun.com". + * position, as in "*.example.com". *

* The format of the IPv6reference should follow that specified in RFC 2732: Format @@ -115,11 +115,11 @@ * note that if the following permission: * *

- *   p1 = new SocketPermission("puffin.eng.sun.com:7777", "connect,accept");
+ *   p1 = new SocketPermission("foo.example.com:7777", "connect,accept");
  * 
* * is granted to some code, it allows that code to connect to port 7777 on - * {@code puffin.eng.sun.com}, and to accept connections on that port. + * {@code foo.example.com}, and to accept connections on that port. * *

Similarly, if the following permission: * @@ -211,7 +211,7 @@ // all the IP addresses of the host private transient InetAddress[] addresses; - // true if the hostname is a wildcard (e.g. "*.sun.com") + // true if the hostname is a wildcard (e.g. "*.example.com") private transient boolean wildcard; // true if we were initialized with a single numeric IP address @@ -274,9 +274,9 @@ *

* Examples of SocketPermission instantiation are the following: *

-     *    nr = new SocketPermission("www.catalog.com", "connect");
-     *    nr = new SocketPermission("www.sun.com:80", "connect");
-     *    nr = new SocketPermission("*.sun.com", "connect");
+     *    nr = new SocketPermission("www.example.com", "connect");
+     *    nr = new SocketPermission("www.example.com:80", "connect");
+     *    nr = new SocketPermission("*.example.com", "connect");
      *    nr = new SocketPermission("*.edu", "resolve");
      *    nr = new SocketPermission("204.160.241.0", "connect");
      *    nr = new SocketPermission("localhost:1024-65535", "listen");
@@ -400,7 +400,7 @@
 
         // Parse the host name.  A name has up to three components, the
         // hostname, a port number, or two numbers representing a port
-        // range.   "www.sun.com:8080-9090" is a valid host name.
+        // range.   "www.example.com:8080-9090" is a valid host name.
 
         // With IPv6 an address can be 2010:836B:4179::836B:4179
         // An IPv6 address needs to be enclose in []
@@ -835,10 +835,10 @@
      *