mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8200125: Fix some classloader/module typos
Reviewed-by: alanb
This commit is contained in:
parent
97d7cfb14e
commit
184bbf01dd
8 changed files with 28 additions and 28 deletions
|
@ -1411,7 +1411,7 @@ public final class URL implements java.io.Serializable {
|
|||
// Check with factory if another thread set a
|
||||
// factory since our last check
|
||||
if (!checkedWithFactory && (fac = factory) != null) {
|
||||
handler2 = fac.createURLStreamHandler(protocol);
|
||||
handler2 = fac.createURLStreamHandler(protocol);
|
||||
}
|
||||
|
||||
if (handler2 != null) {
|
||||
|
|
|
@ -764,7 +764,7 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue