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

gbellato
27.31.2007 bdee37d566768d5cd9396b6cc18688a3519abb94
refs
author gbellato <gbellato@localhost>
Monday, August 27, 2007 13:31 +0200
committer gbellato <gbellato@localhost>
Monday, August 27, 2007 13:31 +0200
commitbdee37d566768d5cd9396b6cc18688a3519abb94
tree ea6ae843fefa8d5a346156af04a312e0e4300225 tree | zip | gz
parent 179832f1486eec5991ea4edc584b2ca962c95e90 view | diff
fix for issue 2150  : ConcurrentModificationException in InitializeTask

The updates done to the task entry during an initialize task was
sometime causing ConcurrentModificationException because they
were done in an internal thread that can be in concurrence
with the operation threads.

The fix is to use the taskScheduler lock when updating the task entry
2 files modified
118 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/task/Task.java 42 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tasks/InitializeTask.java 76 ●●●● diff | view | raw | blame | history