changeset 10335:c173d5414a7d

8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs Reviewed-by: dfuchs
author sjiang
date Tue, 23 Dec 2014 14:23:43 +0100
parents 69d041b13713
children 4915ec1779da
files test/javax/management/monitor/CounterMonitorTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/management/monitor/CounterMonitorTest.java	Fri Dec 19 20:04:14 2014 +0100
+++ b/test/javax/management/monitor/CounterMonitorTest.java	Tue Dec 23 14:23:43 2014 +0100
@@ -68,7 +68,7 @@
                 observedValue = count;
                 CounterMonitorTest.class.notifyAll();
             }
-            return count;
+            return observedValue;
         }
         public void setNbObjects(Object n) {
             echo(">>> StdObservedObject.setNbObjects: " + n);