This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Integrating Win32 changes
Per> - // System's notion of file descriptor.
Per> + // System's notion of file descriptor (use one or both):
Per> private int fd;
Per> + private gnu.gcj.RawData handle;
I think this is the right thing to do. The current approach was taken
simply because we hadn't invented RawData when FileDescriptor was
written.
We should also delete the "POSIXy" comment in FileDescriptor.java.
Per> To initialize in, out and err, we should perhaps do:
Per> public static final FileDescriptor in;
Per> public static final FileDescriptor out;
Per> public static final FileDescriptor err;
Per> private static native init();
Per> static { init(); }
Per> and have java::io::FileDescriptor::init() actually
Per> allocate in, out, and err.
I like this too.
Tom