Re: ServerSocket.isBound() continue to return true after close() is called.

2019-04-12 Thread Norman Maurer
No worries. Thanks a lot! > On 12. Apr 2019, at 10:44, Chris Hegarty wrote: > > The following JIRA issue has been filed to track this: >https://bugs.openjdk.java.net/browse/JDK-8222363 > > > -Chris. > > P.S. my bad! I missed this case w

Re: ServerSocket.isBound() continue to return true after close() is called.

2019-04-12 Thread Chris Hegarty
The following JIRA issue has been filed to track this: https://bugs.openjdk.java.net/browse/JDK-8222363 -Chris. P.S. my bad! I missed this case when working on 6505016 ( in 2007! ) > On 11 Apr 2019, at 16:27, Norman Maurer wrote: > > Ok thanks… update to the java docs sounds good to me. I w

Re: ServerSocket.isBound() continue to return true after close() is called.

2019-04-11 Thread Norman Maurer
Ok thanks… update to the java docs sounds good to me. I was just suprised by the behaviour :) > On 11. Apr 2019, at 17:12, Michael McMahon > wrote: > > Norman > > The specification on what happens to all socket types was updated many years > ago > in bug id 6505016, but it looks like ServerS

Re: ServerSocket.isBound() continue to return true after close() is called.

2019-04-11 Thread Michael McMahon
Norman The specification on what happens to all socket types was updated many years ago in bug id 6505016, but it looks like ServerSocket::isBound was missed from that effort. I think we should probably update the spec to reflect current behavior and be consistent with the change above. There

ServerSocket.isBound() continue to return true after close() is called.

2019-04-11 Thread Norman Maurer
Hi there, While working on netty I just noticed that a ServerSocket will keep return true when isBound() is called even after it was closed. Is this by design? I was bit surprised by this honestly as after the socket is closed there is no way it will accept any more connections. If this is by