< prev index next >
test/runtime/ClassUnload/KeepAliveClass.java
Print this page
*** 23,36 ****
/*
* @test KeepAliveClass
* @summary This test case uses a java.lang.Class instance to keep a class alive.
* @modules java.base/jdk.internal.misc
! * @library /testlibrary /test/lib /runtime/testlibrary
* @library classes
! * @build KeepAliveClass test.Empty
! * @build ClassUnloadCommon
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveClass
*/
--- 23,35 ----
/*
* @test KeepAliveClass
* @summary This test case uses a java.lang.Class instance to keep a class alive.
* @modules java.base/jdk.internal.misc
! * @library /test/lib /runtime/testlibrary
* @library classes
! * @build sun.hotspot.WhiteBox test.Empty
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveClass
*/
< prev index next >