Patch: new methods in gnu.java.net.Plain(Datagram)SocketImpl ?

Anthony Green green@redhat.com
Sat Sep 20 14:17:00 GMT 2003


On Sat, 2003-09-20 at 06:27, Mohan Embar wrote:
> HI Michael and Anthony,
> 
> >I would like to add one new method to PlainDatagramSocketImpl and
> >PlainSocketImpl called getNativeFD:
> 
> >public int getNativeFD();
> 
> What ever became of this?:
> 
> http://gcc.gnu.org/ml/java/2003-04/msg00242.html
> 
> I remember that at the time, I liked the idea, but I can't remember
> how the vote turned out.

I wish you had said something, because nobody was supportive of this
change.  Most people felt it was unneccesary.  I believe the consensus
was that we will force people to change the library code when they want
to use it with a system that does not fit our view of what the
underlying platform is.  

To me, this looks like we're borrowing the worst idea from SWT.  I have
a hack for my non-conforming target, and I pity the fool who tries the
64-bit Windows port.

Michael: where are you going to use the result of getNativeFD()?

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.



More information about the Java-patches mailing list