summaryrefslogtreecommitdiff
path: root/libjava/java/io
diff options
context:
space:
mode:
authorRobin Green <greenrd@greenrd.org>2005-01-14 21:12:46 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-01-14 21:12:46 +0000
commitfd3395a50bf61702cce7c573f02caebbfd536fc2 (patch)
tree154b264e84b27d746a97c3e45edb0fdb7407cba6 /libjava/java/io
parent21c332dc936d8008a3c959ce16899b97d9afe245 (diff)
downloadgcc-fd3395a50bf61702cce7c573f02caebbfd536fc2.tar.gz
File.java (toURI): Generate a URI which we understand.
2005-01-14 Robin Green <greenrd@greenrd.org> * java/io/File.java (toURI): Generate a URI which we understand. From-SVN: r93664
Diffstat (limited to 'libjava/java/io')
-rw-r--r--libjava/java/io/File.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/io/File.java b/libjava/java/io/File.java
index 187558dacb4..2bbf47f9261 100644
--- a/libjava/java/io/File.java
+++ b/libjava/java/io/File.java
@@ -1,5 +1,5 @@
/* File.java -- Class representing a file on disk
- Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004
+ Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -936,7 +936,7 @@ public class File implements Serializable, Comparable
try
{
- return new URI("file", "", abspath.replace(separatorChar, '/'));
+ return new URI("file", abspath.replace(separatorChar, '/'), null);
}
catch (URISyntaxException use)
{