--- old/src/java.base/share/classes/java/net/URLPermission.java 2017-05-03 14:00:33.764849358 -0700 +++ new/src/java.base/share/classes/java/net/URLPermission.java 2017-05-03 14:00:33.640843994 -0700 @@ -72,9 +72,12 @@ * separated by '/' characters. path may also be empty. The path is specified * in a similar way to the path in {@link java.io.FilePermission}. There are * three different ways as the following examples show: - * + *
* + * * + * + * * * * @@ -90,6 +93,7 @@ * example). * * + * *
URL Examples
Example urlDescription
http://www.oracle.com/a/b/c.htmlA url which identifies a specific (single) resource
*

* The '*' and '-' may only be specified in the final segment of a path and must be @@ -246,9 +250,12 @@ *

  • otherwise, return false
  • * *

    Some examples of how paths are matched are shown below: - * + *
    * + * * + * + * * * * @@ -256,6 +263,7 @@ * * * + * *
    Examples of Path Matching
    this's pathp's pathmatch
    /a/b/a/byes
    /a/b/*/a/b/cyes
    /a/b/*/a/b/c/dno
    /a/b/-/a/b/c/d/eyes
    /a/b/-/a/b/c/*yes
    /a/b/*/a/b/c/-no
    */ public boolean implies(Permission p) {