Steven Augart wrote:
> If someone does that kind of port, he'll have more problems than just
> than the size of a file descriptor.  I am not a big fan of writing
> massively general code "just in case."  The Extreme Programming series
> of books talks about this too.  "Sufficient unto the day is the evil
> thereof."

I agree, my port of classpath qualifies as fairly exotic and I just
replaced FileChannelImpl with my own version. Similarly with
PlainSocketImpl and PlainDatagramSocketImpl. I consider these cases the
same as the VM* classes.

As long as the interface to these classes doesn't change too often, this
is a very workable solution.

> I don't know what type the Win32 API uses for a file descriptor;

It uses a a pointer sized integer (i.e. 32 bit on Win32 and 64 bit on
Win64).

Regards,
Jeroen


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to