# HG changeset patch # User sjiang # Date 1419341023 -3600 # Node ID 6f5410cbdc1245a3c02df9a1fc45454abf37a45d # Parent ba99a7a1cb7a986668f44523cf8465850f78a862 8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs Reviewed-by: dfuchs diff -r ba99a7a1cb7a -r 6f5410cbdc12 test/javax/management/monitor/CounterMonitorTest.java --- a/test/javax/management/monitor/CounterMonitorTest.java Wed Dec 03 11:38:56 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);