提交 980544f4 编写于 作者: P phh

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

Summary: Typo in 6173675 fix dropped getThreadCpuTime(long) result on the floor.
Reviewed-by: mchung, dholmes
上级 683c0770
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册