classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: PlatformHelper fix for Windows platforms


From: Roman Kennke
Subject: [cp-patches] FYI: PlatformHelper fix for Windows platforms
Date: Mon, 14 Nov 2005 13:11:55 +0000

A while ago I proposed a fix that Ingo prepared regarding the
PlatformHelper class handling Windows paths incorrectly. (I can't find
the mail in my mailprog, so I do not reply directly to this mail and
instead open a new thread).

The PlatformHelper simply lowercases paths in Windows with the assumption
that it would be easier to handle. In fact this is incorrect, while it
may work for Windows file systems, it does not work for JAR files etc.
Since I received no negative replies to that proposal, I'll commit this
now.

2005-11-14  Roman Kennke  <address@hidden>

        Reported by Ingo Proetel  <address@hidden>
        * gnu/java/io/PlatformHelper.java
        (toCanonicalForm): Remove lowercasing of paths in Windows. This
        breaks working with URLs, like when accessing files withing JAR
        files.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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