--- old/test/testlibrary/ctw/test/JarDirTest.java 2014-12-09 15:13:25.885781798 +0100 +++ new/test/testlibrary/ctw/test/JarDirTest.java 2014-12-09 15:13:25.653781790 +0100 @@ -24,10 +24,10 @@ /* * @test * @bug 8012447 - * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src - * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar - * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar - * sun.hotspot.WhiteBox$WhiteBoxPermission + * @library /testlibrary /../../test/lib /testlibrary/ctw/src + * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld jdk.testlib.WhiteBox Foo Bar + * @run main ClassFileInstaller jdk.testlib.WhiteBox Foo Bar + * jdk.testlib.WhiteBox$WhiteBoxPermission * @run main JarDirTest prepare * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld jars/* * @run main JarDirTest check ctw.log