gcc/libjava ChangeLog java/io/File.java java/i ...
tromey@gcc.gnu.org
tromey@gcc.gnu.org
Sat Mar 1 23:37:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: tromey@gcc.gnu.org 2003-03-01 23:37:51
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&only_with_tag=gcc-3_3-branch&r1=1.1594.2.116&r2=1.1594.2.117
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/File.java.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.24&r2=1.24.20.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/natFileWin32.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.11.4.2&r2=1.11.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/net/URLStreamHandler.java.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.13.2.1&r2=1.13.2.2
More information about the Gcc-cvs
mailing list