This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Integrating Win32 changes
>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:
Jeff> I first thought you meant to create a mapping from fd to handle.
Jeff> You mean have both:
Jeff> int fd;
Jeff> RawData handle;
Jeff> then ignore `handle' for POSIX targets, and ignore `fd' for
Jeff> Win32 targets?
No, he means just have "RawData handle", but store an int value in it
(directly) in the cases where it makes sense (POSIX, Windows).
RawData is special. A RawData field in an object is not scanned by
the collector. We can put an int or a native pointer in it, according
to our preference.
Tom