test/hotspot/jtreg/compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading.java
changeset 47523 ceafc169d2a4
parent 47216 71c04702a3d5
equal deleted inserted replaced
47522:03ce88449e9d 47523:ceafc169d2a4
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2017, 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.
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test TestAnonymousClassUnloading
    25  * @test
    26  * @bug 8054402
    26  * @bug 8054402
    27  * @summary "Tests unloading of anonymous classes."
    27  * @summary "Tests unloading of anonymous classes."
    28  * @library /test/lib /
    28  * @library /test/lib /
    29  * @modules java.base/jdk.internal.misc
    29  * @modules java.base/jdk.internal.misc
       
    30  * @build sun.hotspot.WhiteBox
       
    31  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
       
    32  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    30  *
    33  *
    31  * @run main/othervm/bootclasspath -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    32  *      -XX:-BackgroundCompilation
    35  *      -XX:-BackgroundCompilation
    33  *      compiler.classUnloading.anonymousClass.TestAnonymousClassUnloading
    36  *      compiler.classUnloading.anonymousClass.TestAnonymousClassUnloading
    34  */
    37  */
    35 
    38 
    36 package compiler.classUnloading.anonymousClass;
    39 package compiler.classUnloading.anonymousClass;