+2001-09-11 Tom Tromey <tromey@redhat.com>
+
+ * java/io/File.java (toURL): Use getAbsolutePath and `file://'.
+
2001-09-10 Tom Tromey <tromey@redhat.com>
* java/util/Properties.java (load): Correctly read \u sequences.
2001-09-10 Tom Tromey <tromey@redhat.com>
* java/util/Properties.java (load): Correctly read \u sequences.
public URL toURL () throws MalformedURLException
{
public URL toURL () throws MalformedURLException
{
- return new URL ("file:" + path + (isDirectory() ? "/" : ""));
+ return new URL ("file://" + getAbsolutePath ()
+ + (isDirectory() ? "/" : ""));
}
private final native boolean performMkdir ();
}
private final native boolean performMkdir ();