jdk/test/java/lang/instrument/SingleTransformerTest.java
changeset 30376 2ccf2cf7ea48
parent 30046 cf2c86e1819e
child 33402 1156d495a525
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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 4882798
    26  * @bug 4882798
    27  * @summary simple test with one transformer (makes sure it gets called)
    27  * @summary simple test with one transformer (makes sure it gets called)
    28  * @author Gabriel Adauto, Wily Technology
    28  * @author Gabriel Adauto, Wily Technology
    29  *
    29  *
       
    30  * @modules java.instrument
    30  * @run build SingleTransformerTest
    31  * @run build SingleTransformerTest
    31  * @run shell MakeJAR.sh redefineAgent
    32  * @run shell MakeJAR.sh redefineAgent
    32  * @run main/othervm -javaagent:redefineAgent.jar SingleTransformerTest SingleTransformerTest
    33  * @run main/othervm -javaagent:redefineAgent.jar SingleTransformerTest SingleTransformerTest
    33  * @key randomness
    34  * @key randomness
    34  */
    35  */