jdk/test/javax/management/MBeanServer/MBeanFallbackTest.java
changeset 30376 2ccf2cf7ea48
parent 25164 06c6cc3a5930
child 44423 306c020eb154
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
     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 {