Correction. Committed wrong patch earlier today.

From-SVN: r104367
This commit is contained in:
Anthony Green 2005-09-17 04:20:26 +00:00
parent ee2400e380
commit a49701f9e0
1 changed files with 1 additions and 1 deletions

View 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)
{