gcc/libjava ChangeLog java/io/File.java java/i ...
tromey@gcc.gnu.org
tromey@gcc.gnu.org
Sat Mar 1 23:38:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2003-03-01 23:38:13
Modified files:
libjava : ChangeLog
libjava/java/io: File.java natFileWin32.cc
libjava/java/net: URLStreamHandler.java
Log message:
2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
* java/io/File (getAbsolutePath): Prefix drive specifier on
Windows for paths starting with a '\'.
(toURL): Make URL more consistent with what Sun's JDK returns.
* java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
true only if the path is a UNC network path or it starts with a
drive specifier.
* java/net/URLStreamHandler.java (parseURL): Correct minor typo.
Be prepared to handle either '/' or '\\' in the file path for
Windows if using the "file" protocol.
Canonicalise the file path if using a relative path in the given
context and the "file" protocol.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.1743&r2=1.1744
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/File.java.diff?cvsroot=gcc&r1=1.24&r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/natFileWin32.cc.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/net/URLStreamHandler.java.diff?cvsroot=gcc&r1=1.14&r2=1.15
More information about the Gcc-cvs
mailing list