summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-17 04:20:26 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-17 04:20:26 +0000
commit1eed8c0224f9c58b02d5457b256780af30beddcc (patch)
tree7ccde2acd9a85d8270b1f7c38522865491612a09 /libjava
parent3c83a68a5d471d8c81aa722b7959d6c3633853be (diff)
downloadgcc-1eed8c0224f9c58b02d5457b256780af30beddcc.tar.gz
Correction. Committed wrong patch earlier today.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104367 138bc75d-0d04-0410-961f-82ee72b054a4
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 2a6f87c4093..dd947cb0115 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)
{