why does java.io.FileDescriptor have an "fd" member and a "handle" member?

Tom Tromey tromey@redhat.com
Wed Dec 12 23:17:00 GMT 2001


>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:

Adam> Both have comments declaring them to be "System's notion of file
Adam> descriptor"... well, which is it? =)

I only see `fd'.  Is `handle' something you added?

In the past we've discussed changing the type of `fd' to `RawData'.
That would ensure you could stash a pointer there.

Tom



More information about the Java mailing list