--- old/test/gc/metaspace/TestCapacityUntilGCWrapAround.java 2014-12-09 15:13:20.305781621 +0100 +++ new/test/gc/metaspace/TestCapacityUntilGCWrapAround.java 2014-12-09 15:13:20.081781614 +0100 @@ -25,14 +25,14 @@ * @test * @key gc * @bug 8049831 - * @library /testlibrary /testlibrary/whitebox + * @library /testlibrary /../../test/lib * @build TestCapacityUntilGCWrapAround - * @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 TestCapacityUntilGCWrapAround */ -import sun.hotspot.WhiteBox; +import jdk.testlib.WhiteBox; import com.oracle.java.testlibrary.Asserts; import com.oracle.java.testlibrary.Platform;