--- old/test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java 2014-12-09 15:12:59.757780969 +0100 +++ new/test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java 2014-12-09 15:12:59.337780956 +0100 @@ -21,7 +21,7 @@ * questions. */ -import sun.hotspot.WhiteBox; +import jdk.testlib.WhiteBox; import java.lang.reflect.Method; import java.net.URL; @@ -31,11 +31,11 @@ * @test MethodUnloadingTest * @bug 8029443 * @summary "Tests the unloading of methods to to class unloading" - * @library /testlibrary /testlibrary/whitebox + * @library /testlibrary /../../test/lib * @build TestMethodUnloading * @build WorkerClass - * @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:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation -XX:-UseCompressedOops -XX:CompileOnly=TestMethodUnloading::doWork TestMethodUnloading */ public class TestMethodUnloading {