Hi again,

we are having problems here with java.io.File on Windows CE. Which handles files different again than other Windows and of course different than Unix. I could have hacked some more special casing in there. But I'd like to propose to pull some more methods into VMFile. See ChangeLog and attached patch. Basically this moves the impl of getAbsolutePath(), isAbsolute() and toURL() to VMFile.

The last patch here had a mistake. Here comes the corrected one.


2006-08-15  Roman Kennke  <[EMAIL PROTECTED]>

        * java/io/File.java
        (getAbsolutePath): Fetch absolute path from
        VMFile.getAbsolutePath(). Moved actual impl to there.
        (isAbsolute): Let VMFile determine the absoluteness.
        (toURL): Let VMFile convert the filename.
        * vm/reference/java/io/VMFile.java
        (getAbsolutePath): New method.
        (isAbsolute): New method.
        (toURL): New method.


/Roman


Reply via email to