United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7129308 Handle different format of OperatingSystemMXBean.getSystemLoadAverage() output on macosx
JDK-7129308 : Handle different format of OperatingSystemMXBean.getSystemLoadAverage() output on macosx

Details
Type:
Bug
Submit Date:
2012-01-12
Status:
Closed
Updated Date:
2012-10-06
Project Name:
JDK
Resolved Date:
2012-03-28
Component:
core-svc
OS:
os_x
Sub-Component:
java.lang.management
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4 (b11)

Related Reports

Sub Tasks

Description
OperatingSystemMXBean.getSystemLoadAverage() uses /usr/bin/uptime on Unix, Linux, and Mac OS X. The Mac OS X output text is slightly different, but the regression test in test/java/lang/management/OperatingSystemMXBean/GetSystemLoadAverage.java only handles the output format for non-Mac OS output. Add handling of the output on Mac OS X.

                                    

Comments
EVALUATION

Fix
                                     
2012-02-07



Hardware and Software, Engineered to Work Together