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

Matthew Swift
21.06.2013 43fc35697dc30c3fc4f5787daf1b0d6a7d56b7e8
refs
author Matthew Swift <matthew.swift@forgerock.com>
Tuesday, May 21, 2013 13:06 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Tuesday, May 21, 2013 13:06 +0200
commit43fc35697dc30c3fc4f5787daf1b0d6a7d56b7e8
tree 78aa4b2747aaf3a5cd30d3eeabb9c8dfa7eef277 tree | zip | gz
parent 1c9e674061360b8e6b3b98c1e93be22ab7b302c8 view | diff
Fix OPENDJ-913: ConcurrentModificationException in TimeoutChecker

* use synchronized set for storing connections because request cancellation can cause a re-entrant update of the connection set if the connection is closed
* simplify notification and avoid locking when removing connections.
1 files modified
122 ■■■■ changed files
opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/TimeoutChecker.java 122 ●●●● diff | view | raw | blame | history