src/java.base/share/classes/java/net/URL.java
changeset 52700 b206bdfb9fe2
parent 52694 93afbb11063b
child 52944 d75110673dc9
--- a/src/java.base/share/classes/java/net/URL.java	Tue Nov 27 09:40:32 2018 -0800
+++ b/src/java.base/share/classes/java/net/URL.java	Tue Nov 27 11:28:47 2018 -0800
@@ -95,7 +95,7 @@
  * as a "ref" or a "reference". The fragment is indicated by the sharp
  * sign character "#" followed by more characters. For example,
  * <blockquote><pre>
- *     http://java.sun.com/index.html#chapter1
+ *     http://www.example.com/index.html#chapter1
  * </pre></blockquote>
  * <p>
  * This fragment is not technically part of the URL. Rather, it
@@ -109,7 +109,7 @@
  * relative to another URL. Relative URLs are frequently used within
  * HTML pages. For example, if the contents of the URL:
  * <blockquote><pre>
- *     http://java.sun.com/index.html
+ *     http://www.example.com/index.html
  * </pre></blockquote>
  * contained within it the relative URL:
  * <blockquote><pre>
@@ -117,7 +117,7 @@
  * </pre></blockquote>
  * it would be a shorthand for:
  * <blockquote><pre>
- *     http://java.sun.com/FAQ.html
+ *     http://www.example.com/FAQ.html
  * </pre></blockquote>
  * <p>
  * The relative URL need not specify all the components of a URL. If