Skip to content

Commit

Permalink
[FIXED JENKINS-21437] Mismatched synchronization monitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Aug 25, 2014
1 parent 862cb04 commit 03b31a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog.html
Expand Up @@ -55,7 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
<code>ConcurrentModificationException</code> in <code>RunListProgressiveRendering</code>.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-21437">issue 21437</a>)
</ul>
</div><!--=TRUNK-END=-->

Expand Down
Expand Up @@ -63,7 +63,7 @@ public void setBuilds(Iterable<? extends Run<?,?>> builds) {
}
JSONObject element = new JSONObject();
calculate(build, element);
synchronized (results) {
synchronized (this) {
results.add(element);
}
decay *= (1 - 1 / MAX_LIKELY_RUNS);
Expand Down

0 comments on commit 03b31a2

Please sign in to comment.