[kaffe] libraries/javalib/java/net/Socket.java

Guilhem Lavaux guilhem at kaffe.org
Wed Sep 15 00:20:17 PDT 2004


Ito Kazumitsu wrote:
> In message "Re: [kaffe] libraries/javalib/java/net/Socket.java"
>     on 04/09/15, Ito Kazumitsu <ito.kazumitsu at mail.hidec.co.jp> writes:
> 
> 
>>isBound() returns false when it should return true.
> 
> 

Hi Ito !


> This happens to sockets returned by ServerSocket.accept().
> 
> A server socket creates a socket using new Socket() when accept()
> is called,  but there is no chance that the bound status of the
> created socket can be changed.
> 
> This is my proposed patch.

Thank you. It looks fine to me. The bit concerning localport will go 
however in the native part because I've seen that's what classpath does. 
I think you may submit the part concerning "bound" to classpath though.

Regards,

Guilhem Lavaux.





More information about the kaffe mailing list