--- old/src/java.base/share/classes/java/net/URLPermission.java 2018-11-26 13:32:49.050000000 -0800
+++ new/src/java.base/share/classes/java/net/URLPermission.java 2018-11-26 13:32:48.874000000 -0800
@@ -57,7 +57,7 @@
* RFC 2732. Literal IPv6 addresses must however, be enclosed in '[]' characters.
* The dnsname specification can be preceded by "*." which means
* the name will match any hostname whose right-most domain labels are the same as
- * this name. For example, "*.oracle.com" matches "foo.bar.oracle.com"
+ * this name. For example, "*.example.com" matches "foo.bar.example.com"
*
* portrange is used to specify a port number, or a bounded or unbounded range of ports
* that this permission applies to. If portrange is absent or invalid, then a default
@@ -78,18 +78,18 @@
*
Example url | Description |
*
*
- * http://www.oracle.com/a/b/c.html |
+ *
---|
http://www.example.com/a/b/c.html |
* A url which identifies a specific (single) resource |
*
- * http://www.oracle.com/a/b/* |
+ *
---|
http://www.example.com/a/b/* |
* The '*' character refers to all resources in the same "directory" - in
* other words all resources with the same number of path components, and
* which only differ in the final path component, represented by the '*'.
* |
*
- * http://www.oracle.com/a/b/- |
+ *
---|
http://www.example.com/a/b/- |
* The '-' character refers to all resources recursively below the
- * preceding path (e.g. http://www.oracle.com/a/b/c/d/e.html matches this
+ * preceding path (e.g. http://www.example.com/a/b/c/d/e.html matches this
* example).
* |
*
@@ -267,9 +267,9 @@
* if this's url scheme is not equal to p's url scheme return false
* if the scheme specific part of this's url is '*' return true
* if the set of hosts defined by p's url hostrange is not a subset of
- * this's url hostrange then return false. For example, "*.foo.oracle.com"
- * is a subset of "*.oracle.com". "foo.bar.oracle.com" is not
- * a subset of "*.foo.oracle.com"
+ * this's url hostrange then return false. For example, "*.foo.example.com"
+ * is a subset of "*.example.com". "foo.bar.example.com" is not
+ * a subset of "*.foo.example.com"
* if the portrange defined by p's url is not a subset of the
* portrange defined by this's url then return false.
* if the path or paths specified by p's url are contained in the