jdk/test/java/lang/instrument/PremainClass/InheritAgent1000.java
changeset 30376 2ccf2cf7ea48
parent 5506 202f599c92aa
child 33402 1156d495a525
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
     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.
    25  * @test
    25  * @test
    26  * @bug 6289149
    26  * @bug 6289149
    27  * @summary test config (1,0,0,0): inherited 2-arg in agent class
    27  * @summary test config (1,0,0,0): inherited 2-arg in agent class
    28  * @author Daniel D. Daugherty, Sun Microsystems
    28  * @author Daniel D. Daugherty, Sun Microsystems
    29  *
    29  *
       
    30  * @modules java.instrument
    30  * @run shell ../MakeJAR3.sh InheritAgent1000
    31  * @run shell ../MakeJAR3.sh InheritAgent1000
    31  * @run main/othervm -javaagent:InheritAgent1000.jar DummyMain
    32  * @run main/othervm -javaagent:InheritAgent1000.jar DummyMain
    32  */
    33  */
    33 
    34 
    34 import java.lang.instrument.*;
    35 import java.lang.instrument.*;