Review request: 7129308 Handle OperatingSystemMXBean.getSystemLoadAverage() output on macosx (original) (raw)
Michael McMahon michael.x.mcmahon at oracle.com
Tue Jan 17 03:27:27 PST 2012
- Previous message: Review request: 7129308 Handle OperatingSystemMXBean.getSystemLoadAverage() output on macosx
- Next message: Review request: 7129308 Handle OperatingSystemMXBean.getSystemLoadAverage() output on macosx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jason,
Good to see this one being taken care of. What is the implication of stripping the space?
Thanks, Michael.
On 12/01/12 01:25, Jason Uh wrote:
Hi,
This change handles the difference in the output text of /usr/bin/uptime on Mac OS X from that on Unix/Linux. Please see: http://cr.openjdk.java.net/~juh/7129308/webrev.00/ Note that output = output.substring(output.lastIndexOf(LOADAVERAGETEXT) + - LOADAVERAGETEXT.length()); + LOADAVERAGETEXT.length() + 1);
serves to simply strip a space on all platforms. Thanks, Jason
- Previous message: Review request: 7129308 Handle OperatingSystemMXBean.getSystemLoadAverage() output on macosx
- Next message: Review request: 7129308 Handle OperatingSystemMXBean.getSystemLoadAverage() output on macosx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]