OSDN Git Service

Correction. Committed wrong patch earlier today.
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Sep 2005 04:20:26 +0000 (04:20 +0000)
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Sep 2005 04:20:26 +0000 (04:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104367 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/java/net/URLClassLoader.java

index 2a6f87c..dd947cb 100644 (file)
@@ -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)
        {