Thu, 05 Jun 2014 15:55:49 +0200
8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
Reviewed-by: sla, allwin
1.1 --- a/test/serviceability/ParserTest.java Fri Jun 06 09:53:30 2014 -0700 1.2 +++ b/test/serviceability/ParserTest.java Thu Jun 05 15:55:49 2014 +0200 1.3 @@ -22,10 +22,10 @@ 1.4 */ 1.5 1.6 /* 1.7 - * @test ParserTest 1.8 + * @test 1.9 * @summary Test that the diagnostic command arguemnt parser works 1.10 * @library /testlibrary /testlibrary/whitebox 1.11 - * @build ParserTest 1.12 + * @build ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.parser.* 1.13 * @run main ClassFileInstaller sun.hotspot.WhiteBox 1.14 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ParserTest 1.15 */
2.1 --- a/test/serviceability/attach/AttachWithStalePidFile.java Fri Jun 06 09:53:30 2014 -0700 2.2 +++ b/test/serviceability/attach/AttachWithStalePidFile.java Thu Jun 05 15:55:49 2014 +0200 2.3 @@ -27,7 +27,7 @@ 2.4 * @key regression 2.5 * @summary Regression test for attach issue where stale pid files in /tmp lead to connection issues 2.6 * @library /testlibrary 2.7 - * @compile AttachWithStalePidFileTarget.java 2.8 + * @build com.oracle.java.testlibrary.* AttachWithStalePidFileTarget 2.9 * @run main AttachWithStalePidFile 2.10 */ 2.11
3.1 --- a/test/serviceability/jvmti/GetObjectSizeOverflow.java Fri Jun 06 09:53:30 2014 -0700 3.2 +++ b/test/serviceability/jvmti/GetObjectSizeOverflow.java Thu Jun 05 15:55:49 2014 +0200 3.3 @@ -29,7 +29,7 @@ 3.4 * @test 3.5 * @bug 8027230 3.6 * @library /testlibrary 3.7 - * @build GetObjectSizeOverflowAgent 3.8 + * @build ClassFileInstaller com.oracle.java.testlibrary.* GetObjectSizeOverflowAgent 3.9 * @run main ClassFileInstaller GetObjectSizeOverflowAgent 3.10 * @run main GetObjectSizeOverflow 3.11 */
4.1 --- a/test/serviceability/jvmti/TestRedefineWithUnresolvedClass.java Fri Jun 06 09:53:30 2014 -0700 4.2 +++ b/test/serviceability/jvmti/TestRedefineWithUnresolvedClass.java Thu Jun 05 15:55:49 2014 +0200 4.3 @@ -26,7 +26,7 @@ 4.4 * @summary Redefine a class with an UnresolvedClass reference in the constant pool. 4.5 * @bug 8035150 4.6 * @library /testlibrary 4.7 - * @build UnresolvedClassAgent com.oracle.java.testlibrary.ProcessTools com.oracle.java.testlibrary.OutputAnalyzer 4.8 + * @build com.oracle.java.testlibrary.* UnresolvedClassAgent 4.9 * @run main TestRedefineWithUnresolvedClass 4.10 */ 4.11
5.1 --- a/test/serviceability/sa/jmap-hashcode/Test8028623.java Fri Jun 06 09:53:30 2014 -0700 5.2 +++ b/test/serviceability/sa/jmap-hashcode/Test8028623.java Thu Jun 05 15:55:49 2014 +0200 5.3 @@ -26,6 +26,7 @@ 5.4 * @bug 8028623 5.5 * @summary Test hashing of extended characters in Serviceability Agent. 5.6 * @library /testlibrary 5.7 + * @build com.oracle.java.testlibrary.* 5.8 * @compile -encoding utf8 Test8028623.java 5.9 * @run main Test8028623 5.10 */
6.1 --- a/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Fri Jun 06 09:53:30 2014 -0700 6.2 +++ b/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Thu Jun 05 15:55:49 2014 +0200 6.3 @@ -44,7 +44,7 @@ 6.4 * @key regression 6.5 * @summary Regression test for hprof export issue due to large heaps (>2G) 6.6 * @library /testlibrary 6.7 - * @compile JMapHProfLargeHeapProc.java 6.8 + * @build com.oracle.java.testlibrary.* JMapHProfLargeHeapProc 6.9 * @run main JMapHProfLargeHeapTest 6.10 */ 6.11
7.1 --- a/test/testlibrary/ctw/test/ClassesDirTest.java Fri Jun 06 09:53:30 2014 -0700 7.2 +++ b/test/testlibrary/ctw/test/ClassesDirTest.java Thu Jun 05 15:55:49 2014 +0200 7.3 @@ -22,10 +22,10 @@ 7.4 */ 7.5 7.6 /* 7.7 - * @test ClassesDirTest 7.8 + * @test 7.9 * @bug 8012447 7.10 * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src 7.11 - * @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox ClassesDirTest Foo Bar 7.12 + * @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar 7.13 * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar 7.14 * @run main ClassesDirTest prepare 7.15 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld classes
8.1 --- a/test/testlibrary/ctw/test/ClassesListTest.java Fri Jun 06 09:53:30 2014 -0700 8.2 +++ b/test/testlibrary/ctw/test/ClassesListTest.java Thu Jun 05 15:55:49 2014 +0200 8.3 @@ -22,10 +22,10 @@ 8.4 */ 8.5 8.6 /* 8.7 - * @test ClassesListTest 8.8 + * @test 8.9 * @bug 8012447 8.10 * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src 8.11 - * @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox ClassesListTest Foo Bar 8.12 + * @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar 8.13 * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar 8.14 * @run main ClassesListTest prepare 8.15 * @run main/othervm/timeout=600 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld classes.lst
9.1 --- a/test/testlibrary/ctw/test/JarDirTest.java Fri Jun 06 09:53:30 2014 -0700 9.2 +++ b/test/testlibrary/ctw/test/JarDirTest.java Thu Jun 05 15:55:49 2014 +0200 9.3 @@ -22,10 +22,10 @@ 9.4 */ 9.5 9.6 /* 9.7 - * @test JarDirTest 9.8 + * @test 9.9 * @bug 8012447 9.10 * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src 9.11 - * @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox JarDirTest Foo Bar 9.12 + * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar 9.13 * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar 9.14 * @run main JarDirTest prepare 9.15 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld jars/*
10.1 --- a/test/testlibrary/ctw/test/JarsTest.java Fri Jun 06 09:53:30 2014 -0700 10.2 +++ b/test/testlibrary/ctw/test/JarsTest.java Thu Jun 05 15:55:49 2014 +0200 10.3 @@ -22,10 +22,10 @@ 10.4 */ 10.5 10.6 /* 10.7 - * @test JarsTest 10.8 + * @test 10.9 * @bug 8012447 10.10 * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src 10.11 - * @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox JarsTest Foo Bar 10.12 + * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar 10.13 * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar 10.14 * @run main JarsTest prepare 10.15 * @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