--- old/test/runtime/NMT/MallocTestType.java 2014-12-09 15:13:24.613781757 +0100 +++ new/test/runtime/NMT/MallocTestType.java 2014-12-09 15:13:24.381781750 +0100 @@ -25,15 +25,15 @@ * @test * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd * @key nmt jcmd - * @library /testlibrary /testlibrary/whitebox + * @library /testlibrary /../../test/lib * @build MallocTestType - * @run main ClassFileInstaller sun.hotspot.WhiteBox - * sun.hotspot.WhiteBox$WhiteBoxPermission + * @run main ClassFileInstaller jdk.testlib.WhiteBox + * jdk.testlib.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTestType */ import com.oracle.java.testlibrary.*; -import sun.hotspot.WhiteBox; +import jdk.testlib.WhiteBox; public class MallocTestType {