summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog16
-rw-r--r--gnu/java/io/PlatformHelper.java5
2 files changed, 8 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ea4fdadb..648f90374 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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
+ files.
+
+2005-11-14 Roman Kennke <kennke@aicas.com>
+
* javax/swing/JLayeredPane.java
(paint): Only clear the background if the layeredPane is opaque.
@@ -366,14 +374,6 @@
2005-11-09 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
- files.
-
-2005-11-09 Roman Kennke <kennke@aicas.com>
-
* java/io/InputStreamReader.java
(InputStreamReader(InputStream, CharsetDecoder)): Catch the case
when the CharsetDecoder returns a null charset and handle it like
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 )