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

gbellato
27.31.2007 25dac9c266bda7e12badf795984da0cfcf2dff41
refs
author gbellato <gbellato@localhost>
Monday, August 27, 2007 13:31 +0200
committer gbellato <gbellato@localhost>
Monday, August 27, 2007 13:31 +0200
commit25dac9c266bda7e12badf795984da0cfcf2dff41
tree 8dcdf5059cb8d18a7ed731527ac29b4ee68b5548 tree | zip | gz
parent 8684c89c1cdf8f9b2650688f2ac7d3b8ea48ac29 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
opends/src/server/org/opends/server/backends/task/Task.java 42 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tasks/InitializeTask.java 76 ●●●● diff | view | raw | blame | history