Integrating Win32 changes

Tom Tromey tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


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


More information about the Java mailing list