aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorAnthony Green <green@gcc.gnu.org>2005-09-17 04:20:26 +0000
committerAnthony Green <green@gcc.gnu.org>2005-09-17 04:20:26 +0000
commita49701f9e09698e2bf35bb266837c796c8de066a (patch)
tree7ccde2acd9a85d8270b1f7c38522865491612a09 /libjava
parentee2400e380a10c6526a5ff5bbfbd4bd05f9e098c (diff)
downloadgcc-a49701f9e09698e2bf35bb266837c796c8de066a.zip
gcc-a49701f9e09698e2bf35bb266837c796c8de066a.tar.gz
gcc-a49701f9e09698e2bf35bb266837c796c8de066a.tar.bz2
Correction. Committed wrong patch earlier today.
From-SVN: r104367
Diffstat (limited to 'libjava')
-rw-r--r--libjava/java/net/URLClassLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/net/URLClassLoader.java b/libjava/java/net/URLClassLoader.java
index 2a6f87c..dd947cb 100644
--- a/libjava/java/net/URLClassLoader.java
+++ b/libjava/java/net/URLClassLoader.java
@@ -614,7 +614,7 @@ public class URLClassLoader extends SecureClassLoader
{
File file = new File(dir, name).getCanonicalFile();
if (file.exists() && !file.isDirectory())
- return new FileResource(this, file.path(), file);
+ return new FileResource(this, file.getPath(), file);
}
catch (IOException e)
{