This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: remove all traces of java.io.FileDescriptor from java.net


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

Jeff> So my inclination is to resubmit the patch minus the SocketImpl
Jeff> changes.

Is the idea that the SocketImpl.getFileDescriptor would just return
null?  That seems reasonable, weirdly enough.  Or maybe we could have
it either return an invalid fd or throw some exception.

There's actually two uses for getFileDescriptor; you can call
FileDescriptor.sync or FileDescriptor.valid.  I don't find either of
these really compelling.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]