< prev index next >
test/runtime/ClassUnload/KeepAliveObject.java
Print this page
*** 24,34 ****
/*
* @test KeepAliveObject
* @summary This test case uses a class instance to keep the class alive.
* @library /testlibrary /../../test/lib /runtime/testlibrary
* @library classes
! * @build KeepAliveObject test.Empty
* @build ClassUnloadCommon
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveObject
*/
--- 24,34 ----
/*
* @test KeepAliveObject
* @summary This test case uses a class instance to keep the class alive.
* @library /testlibrary /../../test/lib /runtime/testlibrary
* @library classes
! * @build com.oracle.java.testlibrary.* KeepAliveObject test.Empty
* @build ClassUnloadCommon
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveObject
*/
< prev index next >