equal
deleted
inserted
replaced
25 * @test NotCompliantCauseTest.java |
25 * @test NotCompliantCauseTest.java |
26 * @bug 6374290 |
26 * @bug 6374290 |
27 * @summary Test that NotCompliantMBeanException has a cause in case of |
27 * @summary Test that NotCompliantMBeanException has a cause in case of |
28 * type mapping problems. |
28 * type mapping problems. |
29 * @author Daniel Fuchs, Alexander Shusherov |
29 * @author Daniel Fuchs, Alexander Shusherov |
30 * @modules java.management |
30 * |
31 * @run clean NotCompliantCauseTest |
31 * @run clean NotCompliantCauseTest |
32 * @run build NotCompliantCauseTest |
32 * @run build NotCompliantCauseTest |
33 * @run main NotCompliantCauseTest |
33 * @run main NotCompliantCauseTest |
34 */ |
34 */ |
35 /* |
35 /* |
38 * Created on January 20, 2006, 2:56 PM / dfuchs |
38 * Created on January 20, 2006, 2:56 PM / dfuchs |
39 * |
39 * |
40 */ |
40 */ |
41 |
41 |
42 import java.util.Random; |
42 import java.util.Random; |
43 import java.util.logging.Logger; |
|
44 |
43 |
45 import javax.management.MBeanServer; |
44 import javax.management.MBeanServer; |
46 import javax.management.MBeanServerFactory; |
45 import javax.management.MBeanServerFactory; |
47 import javax.management.NotCompliantMBeanException; |
46 import javax.management.NotCompliantMBeanException; |
48 import javax.management.ObjectName; |
47 import javax.management.ObjectName; |
51 /** |
50 /** |
52 * |
51 * |
53 * @author Sun Microsystems, 2005 - All rights reserved. |
52 * @author Sun Microsystems, 2005 - All rights reserved. |
54 */ |
53 */ |
55 public class NotCompliantCauseTest { |
54 public class NotCompliantCauseTest { |
56 |
|
57 /** |
|
58 * A logger for this class. |
|
59 **/ |
|
60 private static final Logger LOG = |
|
61 Logger.getLogger(NotCompliantCauseTest.class.getName()); |
|
62 |
55 |
63 /** |
56 /** |
64 * Creates a new instance of NotCompliantCauseTest |
57 * Creates a new instance of NotCompliantCauseTest |
65 */ |
58 */ |
66 public NotCompliantCauseTest() { |
59 public NotCompliantCauseTest() { |