From a49701f9e09698e2bf35bb266837c796c8de066a Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sat, 17 Sep 2005 04:20:26 +0000 Subject: Correction. Committed wrong patch earlier today. From-SVN: r104367 --- libjava/java/net/URLClassLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava') 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) { -- cgit v1.1