classpath
[Top][All Lists]
Advanced

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

Re: java.io.File and its native methods


From: Michael Koch
Subject: Re: java.io.File and its native methods
Date: Sat, 24 Apr 2004 14:11:07 +0200
User-agent: KMail/1.5.4

Am Samstag, 24. April 2004 12:27 schrieb Michael Koch:
> Am Samstag, 24. April 2004 12:15 schrieb Jeroen Frijters:
> > Michael Koch wrote:
> > > Here is an updated patch. It uses PlatformFile insteam of VMFile
> > > and moved add the things you request to it too.
> >
> > Thanks. However, I think isHidden should pass the entire path
> > instead of just the name. Otherwise it still won't be possible to
> > call a native method that figures out if the file is hidden (for
> > file systems where there is an explicit hidden attribute, instead
> > of the *nix naming convention).
>
> Damn, you are right. I will fix this.

Here is another update.


Michael


2004-04-24  Michael Koch  <address@hidden>

        * java/io/File.java: Moved all native methods to the new class
        PlatformFile and removed the "Internal" suffix.
        * java/io/PlatformFile.java: New file.
        * java/io/Makefile.am (EXTRA_DIST): Added PlatformFile.java.
        * native/jni/java-io/java_io_File.c: Moved all methods to
        java_io_PlatformFile.c and renamed them accordingly.
        * native/jni/java-io/java_io_PlatformFile.c: New file.
        * include/java_io_File.h: Removed.
        * include/java_io_PlatformFile.h: New file.

Attachment: vmfile.diff
Description: Text Data


reply via email to

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