File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar...
authorRanjit Mathew <rmathew@hotmail.com>
Sat, 19 Apr 2003 19:08:49 +0000 (19:08 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 19 Apr 2003 19:08:49 +0000 (19:08 +0000)
commitf1a1591b9ef91e138109a510a92c60ee153b8555
treefecad7245f02a88a53f8de92df88e2c776e68ba8
parent30f45f509fb75efdad29f9f033057af8a6ef8d15
File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar", etc.

2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>

* java/io/File.java (getAbsolutePath): On Windows, take care
of paths like "C:", "G:foo\bar", etc.
(getName): Make it work correctly on Windows.
(getParent): Make it work correctly on Windows. For UNIX,
fix bug that causes "/" to be returned as the parent of "/",
instead of null as returned by Sun's JRE.

* java/io/natFileWin32.cc: Change copyright owner to FSF.

From-SVN: r65823
libjava/ChangeLog
libjava/java/io/File.java
libjava/java/io/natFileWin32.cc