RFR: 8313657 : com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors [v2]

Weibing Xiao duke at openjdk.org
Fri Aug 4 19:09:58 UTC 2023


On Fri, 4 Aug 2023 18:24:04 GMT, Weibing Xiao <duke at openjdk.org> wrote:

>> com.sun.jndi.ldap.Connection::leanup does not close the underlying socket if the is an IOException generation when the output stream was flushing the buffer.
>> 
>> Please refer to the bug https://bugs.openjdk.org/browse/JDK-8313657.
>
> Weibing Xiao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   updated the code according the review comments

1) Extracted the methods for finally black of Connection::cleanUP
2) Move the test class to LDAP test folder and updated the test comments.
3) Removed the redundant code and update the import statement.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15143#issuecomment-1666054865


More information about the core-libs-dev mailing list