RFR: 8357708: com.sun.jndi.ldap.Connection ignores queued LDAP replies if Connection is subsequently closed

Daniel Fuchs dfuchs at openjdk.org
Mon May 26 16:55:50 UTC 2025


On Mon, 26 May 2025 16:16:44 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Additionally, the addRequest(), close() and cancel() methods of this LdapRequet get called by a single thread managed by the Connection class, so there isn't expected to be concurrent calls across these methods. 

I am not seeing that - close() is called by Connection.cleanup() which seems to be callable asynchronously.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25449#discussion_r2107652428


More information about the core-libs-dev mailing list