Re: RFR [7010989]: Duplicate closure of file descriptors leads to unexpected and incorrect closure of sockets

2014-09-09 Thread Chris Hegarty
Reviewed. As you said, this is not the default implementation on recent Windows platforms, but possibly worth fixing so it can be backported to older releases. On this point, there is potential here for a lot of cleanup, even removal of the TwoStacks implementation in 9. I think this would be a

RFR [7010989]: Duplicate closure of file descriptors leads to unexpected and incorrect closure of sockets

2014-09-09 Thread Ivan Gerasimov
Hello! In the implementation of TwoStack sockets on Windows there's is a possibility of trying to close the sockets twice in the case of a failure. TwoStack implementation isn't the default one, but it still can be used with jdk7u/8u on old platforms. Would you please help review the fix? BU