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: new methods in gnu.java.net.Plain(Datagram)SocketImpl ?


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.


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