test/runtime/ClassUnload/UnloadTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff test/runtime/ClassUnload/UnloadTest.java
test/runtime/ClassUnload/UnloadTest.java
Print this page
*** 21,39 ****
* questions.
*/
/*
* @test UnloadTest
! * @library /runtime/testlibrary /testlibrary /testlibrary/whitebox
* @library classes
* @build ClassUnloadCommon test.Empty
* @build UnloadTest
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI UnloadTest
*/
! import sun.hotspot.WhiteBox;
/**
* Test that verifies that classes are unloaded when they are no longer reachable.
*
* The test creates a class loader, uses the loader to load a class and creates an instance
--- 21,39 ----
* questions.
*/
/*
* @test UnloadTest
! * @library /runtime/testlibrary /testlibrary /../../test/lib
* @library classes
* @build ClassUnloadCommon test.Empty
* @build UnloadTest
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
! * jdk.testlib.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI UnloadTest
*/
! import jdk.testlib.WhiteBox;
/**
* Test that verifies that classes are unloaded when they are no longer reachable.
*
* The test creates a class loader, uses the loader to load a class and creates an instance
test/runtime/ClassUnload/UnloadTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File