diff options
Diffstat (limited to 'java/net/URLClassLoader.java')
-rw-r--r-- | java/net/URLClassLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/net/URLClassLoader.java b/java/net/URLClassLoader.java index 9e489db53..ffa73dda6 100644 --- a/java/net/URLClassLoader.java +++ b/java/net/URLClassLoader.java @@ -539,7 +539,7 @@ public class URLClassLoader extends SecureClassLoader try { File file = new File(dir, name).getCanonicalFile(); - if (file.exists() && !file.isDirectory()) + if (file.exists()) return new FileResource(this, file); } catch (IOException e) |