changeset 49528 | c1eb35eb5f38 |
parent 49117 | 0a93645a57f1 |
child 51667 | 799cddff49fe |
--- a/src/java.base/share/classes/java/net/URLClassLoader.java Thu Apr 05 15:04:09 2018 +0100 +++ b/src/java.base/share/classes/java/net/URLClassLoader.java Thu Apr 05 09:33:27 2018 -0700 @@ -764,7 +764,7 @@ path = ParseUtil.decode(path); if (path.endsWith(File.separator)) path += "-"; - p = new FilePermission(path, SecurityConstants.FILE_READ_ACTION); + p = new FilePermission(path, SecurityConstants.FILE_READ_ACTION); } else { /** * Not loading from a 'file:' URL so we want to give the class