equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 * @bug 6610094 |
26 * @bug 6610094 |
27 * @summary Test the OperatingSystemMXBean instance returned by |
27 * @summary Test the OperatingSystemMXBean instance returned by |
28 * ManagementFactory.getPlatformMXBeans() |
28 * ManagementFactory.getPlatformMXBeans() |
29 * @author Mandy Chung |
29 * @author Mandy Chung |
30 * |
30 * |
|
31 * @modules java.management |
|
32 * jdk.management |
31 * @run main PlatformMXBeanTest |
33 * @run main PlatformMXBeanTest |
32 */ |
34 */ |
33 |
35 |
34 import java.lang.management.*; |
36 import java.lang.management.*; |
35 import java.util.List; |
37 import java.util.List; |