--- old/test/runtime/NMT/MallocStressTest.java 2014-12-09 15:13:22.877781702 +0100 +++ new/test/runtime/NMT/MallocStressTest.java 2014-12-09 15:13:22.801781700 +0100 @@ -25,10 +25,10 @@ * @test * @summary Stress test for malloc tracking * @key nmt jcmd stress - * @library /testlibrary /testlibrary/whitebox + * @library /testlibrary /../../test/lib * @build MallocStressTest * @ignore - This test is disabled since it will stress NMT and timeout during normal testing - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run main ClassFileInstaller jdk.testlib.WhiteBox * @run main/othervm/timeout=600 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocStressTest */ @@ -37,7 +37,7 @@ import java.util.List; import java.util.Random; import com.oracle.java.testlibrary.*; -import sun.hotspot.WhiteBox; +import jdk.testlib.WhiteBox; public class MallocStressTest { private static int K = 1024;