8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs
authorsjiang
Fri, 12 Dec 2014 14:31:26 +0100
changeset 28054 8b0ef141b964
parent 28053 b2366f339e39
child 28055 0241272e39ed
8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs Reviewed-by: dfuchs
jdk/test/javax/management/monitor/CounterMonitorTest.java
--- a/jdk/test/javax/management/monitor/CounterMonitorTest.java	Thu Dec 11 18:40:05 2014 -0800
+++ b/jdk/test/javax/management/monitor/CounterMonitorTest.java	Fri Dec 12 14:31:26 2014 +0100
@@ -68,7 +68,7 @@
                 observedValue = count;
                 CounterMonitorTest.class.notifyAll();
             }
-            return count;
+            return observedValue;
         }
         public void setNbObjects(Object n) {
             echo(">>> StdObservedObject.setNbObjects: " + n);