RFR: JDK-8144144 - ORB destroy() leaks filedescriptors after unsuccessful connection

Chris Hegarty chris.hegarty at oracle.com
Mon Jan 11 06:32:51 UTC 2016


On 8 Jan 2016, at 17:49, Mark Sheppard <mark.sheppard at oracle.com> wrote:

> Hi
>   please oblige and review the following changes
> http://cr.openjdk.java.net/~msheppar/8144144/webrev/

In SelectorImpl.clearDeferredRegistrations() there is no need to call close()
on the Socket returned from channel.socket(), since you have already
closed the channel. 

-Chris.

> which addresses the issue
> https://bugs.openjdk.java.net/browse/JDK-8144144
> 
> the changes ensure that an Acceptor and its associated ServerSocket/ServerSocketChannel
> are closed.
> 
> regards
> Mark




More information about the core-libs-dev mailing list