classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java.io.File patch


From: Jeroen Frijters
Subject: java.io.File patch
Date: Wed, 12 Feb 2003 12:45:41 +0100

Hi,

On Windows new File("c://") hangs (infinite loop), please apply the
following patch:

RCS file: /cvsroot/classpath/classpath/java/io/File.java,v
retrieving revision 1.21
diff -r1.21 File.java
334,335c334
<   if (!PlatformHelper.isRootDirectory(path))
<     while (PlatformHelper.endWithSeparator(path))
---
>     while (!PlatformHelper.isRootDirectory(path) &&
PlatformHelper.endWithSeparator(path))


Thanks.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]