--- old/test/javax/management/monitor/CounterMonitorTest.java 2014-12-12 13:36:08.000000000 +0100 +++ new/test/javax/management/monitor/CounterMonitorTest.java 2014-12-12 13:36:08.000000000 +0100 @@ -68,7 +68,7 @@ observedValue = count; CounterMonitorTest.class.notifyAll(); } - return count; + return observedValue; } public void setNbObjects(Object n) { echo(">>> StdObservedObject.setNbObjects: " + n);