OSDN Git Service

2005-01-14 Robin Green <greenrd@greenrd.org>
[pf3gnuchains/gcc-fork.git] / libjava / java / io / File.java
index 187558d..2bbf47f 100644 (file)
@@ -1,5 +1,5 @@
 /* File.java -- Class representing a file on disk
 /* 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.
    Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
@@ -936,7 +936,7 @@ public class File implements Serializable, Comparable
         
     try
       {
         
     try
       {
-       return new URI("file", "", abspath.replace(separatorChar, '/'));
+       return new URI("file", abspath.replace(separatorChar, '/'), null);
       }
     catch (URISyntaxException use)
       {
       }
     catch (URISyntaxException use)
       {