hotspot/test/runtime/ClassUnload/UnloadTest.java
changeset 40631 ed82623d7831
parent 38152 80e5da81fb2c
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, 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.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test UnloadTest
    25  * @test UnloadTest
    26  * @modules java.base/jdk.internal.misc
    26  * @modules java.base/jdk.internal.misc
    27  * @library /runtime/testlibrary /testlibrary /test/lib
    27  * @library /runtime/testlibrary /test/lib
    28  * @library classes
    28  * @library classes
    29  * @build ClassUnloadCommon test.Empty
    29  * @build sun.hotspot.WhiteBox test.Empty
    30  * @build UnloadTest
       
    31  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    30  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    32  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    31  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    33  * @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI UnloadTest
    32  * @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI UnloadTest
    34  */
    33  */
    35 import sun.hotspot.WhiteBox;
    34 import sun.hotspot.WhiteBox;