Skip to content
Permalink
Browse files
[FIXED JENKINS-21437] Mismatched synchronization monitor.
  • Loading branch information
jglick committed Aug 25, 2014
1 parent 862cb04 commit 03b31a2361b4bc00cac6c1545ee8300fca5bd8a3
Showing with 4 additions and 2 deletions.
  1. +3 −1 changelog.html
  2. +1 −1 core/src/main/java/jenkins/widgets/RunListProgressiveRendering.java
@@ -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=-->

@@ -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);

0 comments on commit 03b31a2

Please sign in to comment.