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:
parent
c37b51609d
commit
14a381f250
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user