--- old/test/testlibrary_tests/ctw/JarsTest.java 2014-12-09 15:13:28.057781867 +0100 +++ new/test/testlibrary_tests/ctw/JarsTest.java 2014-12-09 15:13:27.753781857 +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 JarsTest prepare * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld foo.jar bar.jar * @run main JarsTest check ctw.log