changeset 11007:4a54db5efd63

8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs Reviewed-by: dfuchs
author sjiang
date Tue, 23 Dec 2014 14:23:43 +0100
parents 1e44981c46e1
children 27beb7ba8b16
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	Mon May 11 12:18:29 2015 -0700
+++ 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);