src/share/classes/sun/management/AbstractOperatingSystemImpl.java

Print this page

        

*** 35,52 **** * Standard and committed hotspot-specific metrics if any. * * ManagementFactory.getOperatingSystemMXBean() returns an instance * of this class. */ ! public class OperatingSystemImpl implements OperatingSystemMXBean { private final VMManagement jvm; /** ! * Constructor of OperatingSystemImpl class. */ ! protected OperatingSystemImpl(VMManagement vm) { this.jvm = vm; } public String getName() { return jvm.getOsName(); --- 35,52 ---- * Standard and committed hotspot-specific metrics if any. * * ManagementFactory.getOperatingSystemMXBean() returns an instance * of this class. */ ! public class AbstractOperatingSystemImpl implements OperatingSystemMXBean { private final VMManagement jvm; /** ! * Constructor of AbstractOperatingSystemImpl class. */ ! protected AbstractOperatingSystemImpl(VMManagement vm) { this.jvm = vm; } public String getName() { return jvm.getOsName();