RFR 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 29 17:14:47 UTC 2015


On 29/01/2015 15:39, Chris Hegarty wrote:
> :
>> Has there been any consideration given to writing a test for this? I thought we had one or two tests for this already.
> There are existing tests for client/connecting sockets, but none for accepted sockets.
>
> The test, and check, for accepted sockets is quite different from that of the ones already checked in for client/connecting sockets, so I added a new test for this.
>
> Updated webrev:
>    http://cr.openjdk.java.net/~chegar/8067105/webrev.01/webrev/
>
Thanks, the additional test coverage is good (although I'm somewhat 
surprised we didn't have several tests the accepted socket case too).

-Alan


More information about the net-dev mailing list