7013682: two test checking cpuTime filed java/lang/management/ThreadMXBean

Typo in 6173675 fix dropped getThreadCpuTime(long) result on the floor.

Reviewed-by: mchung, dholmes
This commit is contained in:
Paul Hohensee 2011-01-21 07:29:59 -05:00
parent c37b51609d
commit 14a381f250

View File

@ -259,7 +259,7 @@ class ThreadImpl implements com.sun.management.ThreadMXBean {
if (id == Thread.currentThread().getId()) {
id = 0;
}
getThreadTotalCpuTime0(id);
times[0] = getThreadTotalCpuTime0(id);
} else {
getThreadTotalCpuTime1(ids, times);
}