This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
java.io.File question
- To: Java Discuss List <java at gcc dot gnu dot org>
- Subject: java.io.File question
- From: Tom Tromey <tromey at redhat dot com>
- Date: 05 Oct 2001 13:59:25 -0600
- Reply-To: tromey at redhat dot com
I looked at PR 4481 a little bit today.
First, we don't really seem to handle Windows paths very well. My
fixlet to 4481 continues this tradition. Do we have a plan for how we
want to handle Windows paths here?
Second, this code in File.normalizePath seems wrong:
if (dupSeparator.equals("\\") && dupIndex == 0)
dupIndex = p.indexOf(dupSeparator, 1);
I think that string should read "\\\\".
Tom