classpath
[Top][All Lists]
Advanced

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

Re: RFC: FileDescriptor patch


From: Michael Koch
Subject: Re: RFC: FileDescriptor patch
Date: Sun, 6 Apr 2003 22:22:02 +0200
User-agent: KMail/1.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tom, hi list,

Am Samstag, 5. April 2003 22:14 schrieb Tom Tromey:

> Index: ChangeLog
> from  Tom Tromey  <address@hidden>
>
>       * java/io/FileInputStream.java (FileInputStream): Updated for
>       changes to FileDescriptor.
>       * java/io/FileOutputStream.java (FileOutputStream): Updated for
>       changes to FileDescriptor.
>       * java/io/RandomAccessFile.java (RandomAccessFile): Updated for
>       changes to FileDescriptor.
>       (readOnly): Removed; updated all users.
>       * java/io/FileDescriptor.java (SET, CUR, END): Now constants.
>       (READ, WRITE, APPEND, EXCL): New constants.
>       (in, out, err): Require nativeInit to initialize.
>       (FileDescriptor(String,int)): New constructor.
>       (open): Changed argument type of `mode'.  Allow empty paths.
>       Only throw runtime errors or FileNotFoundException.
>       (nativeValid): Don't throw IOException.
>       (valid): Simplified.
>       (nativeOpen): Throw FileNotFoundException.  Changed type of
>       `mode' argument.
>       * native/jni/java-io/FileDescriptor.c
>       (Java_java_io_FileDescriptor_nativeValid): Updated comment.
>       (SET, CUR, END, READ, WRITE, APPEND, EXCL): New defines.
>       (Java_java_io_FileDescriptor_nativeOpen): Changed type of mode
>       argument.

Looks very good, except native/jni/java-io/FileDescriptor.c doesnt 
exist anymore since the merge of the Aicas (?) patches.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+kIxqWSOgCCdjSDsRAuspAJ0WTMZgUhl2lw1WoYYiT+/XSYm7fACcCBY1
3zBH77U4XuV+pu39p19Vdhw=
=bs7a
-----END PGP SIGNATURE-----





reply via email to

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