jdk/test/javax/management/modelmbean/RequiredModelMBeanSetAttributeTest.java
changeset 30376 2ccf2cf7ea48
parent 5506 202f599c92aa
child 44423 306c020eb154
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
     1 /*
     1 /*
     2  * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 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 4997033
    26  * @bug 4997033
    27  * @summary Test the following in RequiredModelMBean.setAttribute():
    27  * @summary Test the following in RequiredModelMBean.setAttribute():
    28  * MBeanException wrapping a ServiceNotFoundException is thrown is setAttribute
    28  * MBeanException wrapping a ServiceNotFoundException is thrown is setAttribute
    29  * called but no setMethod field has been provided.
    29  * called but no setMethod field has been provided.
    30  * @author Jean-Francois Denise
    30  * @author Jean-Francois Denise
       
    31  * @modules java.management
    31  * @run clean RequiredModelMBeanSetAttributeTest
    32  * @run clean RequiredModelMBeanSetAttributeTest
    32  * @run build RequiredModelMBeanSetAttributeTest
    33  * @run build RequiredModelMBeanSetAttributeTest
    33  * @run main RequiredModelMBeanSetAttributeTest
    34  * @run main RequiredModelMBeanSetAttributeTest
    34  */
    35  */
    35 
    36