summaryrefslogtreecommitdiff
path: root/gnu/java/io/PlatformHelper.java
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2005-11-14 13:08:11 +0000
committerRoman Kennke <roman@kennke.org>2005-11-14 13:08:11 +0000
commitf17be1a1e67be3f86fe7a3172b33c51065a1ee38 (patch)
tree080542f36733902f64b6544be4ad7d98229be62e /gnu/java/io/PlatformHelper.java
parentcf32855fa4449afaa118d8a56dadc4323c381cfc (diff)
downloadclasspath-f17be1a1e67be3f86fe7a3172b33c51065a1ee38.tar.gz
2005-11-14 Roman Kennke <kennke@aicas.com>
Reported by Ingo Proetel <proetel@aicas.com> * gnu/java/io/PlatformHelper.java (toCanonicalForm): Remove lowercasing of paths in Windows. This breaks working with URLs, like when accessing files withing JAR
Diffstat (limited to 'gnu/java/io/PlatformHelper.java')
-rw-r--r--gnu/java/io/PlatformHelper.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/gnu/java/io/PlatformHelper.java b/gnu/java/io/PlatformHelper.java
index d2c601231..79ce6e8f4 100644
--- a/gnu/java/io/PlatformHelper.java
+++ b/gnu/java/io/PlatformHelper.java
@@ -109,11 +109,6 @@ public class PlatformHelper
String tmppath = path.replace('/', separatorChar);
StringBuffer canonpath;
- // We found it'll be more efficient and easy to handle to
- // return a lowercased canonical path
- if(isWindows)
- tmppath = tmppath.toLowerCase();
-
int i;
if ((i = beginWithRootPathPrefix(tmppath)) == 0 )