JDK-7147848 : com.sun.management.UnixOperatingSystem uses hardcoded dummy values [macosx]
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 7,7u4
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: unknown,x86
  • Submitted: 2012-02-22
  • Updated: 2019-08-16
  • Resolved: 2012-05-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6 b08Fixed 8Fixed
Related Reports
Duplicate :  
Duplicate :  
Description
The source file:

jdk7u-dev:jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c

has a lot of dummy return values hard-coded (for the Mac OS X case). There are comments suggesting that some
cannot be acquired on BSD. But, it may be possible on Mac OS X and needs to be checked out.

This file will probably be ported over to jdk8 very soon in its current form. But needs to be fixed in 8
and maybe 7u6 (too late for 7u4 probably).

Comments
EVALUATION http://hg.openjdk.java.net/jdk8/tl/jdk/rev/869f53f58692
17-04-2012

EVALUATION .
03-04-2012