equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 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. |
31 * @bug 8010285 |
31 * @bug 8010285 |
32 * @summary Test fallback for private MBean interfaces. |
32 * @summary Test fallback for private MBean interfaces. |
33 * It needs to be a separate class because the "jdk.jmx.mbeans.allowNonPublic" |
33 * It needs to be a separate class because the "jdk.jmx.mbeans.allowNonPublic" |
34 * system property must be set before c.s.j.m.MBeanAnalyzer has been loaded. |
34 * system property must be set before c.s.j.m.MBeanAnalyzer has been loaded. |
35 * @author Jaroslav Bachorik |
35 * @author Jaroslav Bachorik |
|
36 * @modules java.management |
36 * @run clean MBeanFallbackTest |
37 * @run clean MBeanFallbackTest |
37 * @run build MBeanFallbackTest |
38 * @run build MBeanFallbackTest |
38 * @run main/othervm -Djdk.jmx.mbeans.allowNonPublic=true MBeanFallbackTest |
39 * @run main/othervm -Djdk.jmx.mbeans.allowNonPublic=true MBeanFallbackTest |
39 */ |
40 */ |
40 public class MBeanFallbackTest { |
41 public class MBeanFallbackTest { |