mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
28.20.2013 3d8848801b06656f425b027d16219b026bbbb2a8
refs
author Matthew Swift <matthew.swift@forgerock.com>
Saturday, September 28, 2013 00:20 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Saturday, September 28, 2013 00:20 +0200
commit3d8848801b06656f425b027d16219b026bbbb2a8
tree 7cb285edbd9bfcb775fd0dad0f5b09b17b22cda3 tree | zip | gz
parent b13e2eba95ed4090fe722456234ca812bb073ebc view | diff
Fix OPENDJ-1156 - NPE in ReferenceCountedObject after shutting down directory

* ensure that resources associated with an LDAP connection are only released at most once, when the client closes the connection. Previously resources were released when a connection error was detected as well
* minor fix for ConnectionState where a "close" state transition is lost when closing is performed re-entrantly from within a ConnectionEventListener error notification.
3 files modified
50 ■■■■ changed files
opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/ConnectionState.java 10 ●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnection.java 13 ●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/test/java/com/forgerock/opendj/ldap/ConnectionStateTest.java 27 ●●●●● diff | view | raw | blame | history