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

Matthew Swift
21.06.2013 0a989a943c2c5971ee5fbc6daa7a58abd641e83a
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
commit0a989a943c2c5971ee5fbc6daa7a58abd641e83a
tree 151c28cb8c74c24789cd29897fe04100b68c1334 tree | zip | gz
parent 87609733c25b55663815e9e953849c083c4f6149 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
opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/TimeoutChecker.java 122 ●●●● diff | view | raw | blame | history