提交 d142da8c 编写于 作者: Y ykantser

8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper

Reviewed-by: sla, allwin
上级 5c7c0f39
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
*/ */
/* /*
* @test ParserTest * @test
* @summary Test that the diagnostic command arguemnt parser works * @summary Test that the diagnostic command arguemnt parser works
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build ParserTest * @build ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.parser.*
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ParserTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ParserTest
*/ */
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* @key regression * @key regression
* @summary Regression test for attach issue where stale pid files in /tmp lead to connection issues * @summary Regression test for attach issue where stale pid files in /tmp lead to connection issues
* @library /testlibrary * @library /testlibrary
* @compile AttachWithStalePidFileTarget.java * @build com.oracle.java.testlibrary.* AttachWithStalePidFileTarget
* @run main AttachWithStalePidFile * @run main AttachWithStalePidFile
*/ */
......
...@@ -29,7 +29,7 @@ import com.oracle.java.testlibrary.*; ...@@ -29,7 +29,7 @@ import com.oracle.java.testlibrary.*;
* @test * @test
* @bug 8027230 * @bug 8027230
* @library /testlibrary * @library /testlibrary
* @build GetObjectSizeOverflowAgent * @build ClassFileInstaller com.oracle.java.testlibrary.* GetObjectSizeOverflowAgent
* @run main ClassFileInstaller GetObjectSizeOverflowAgent * @run main ClassFileInstaller GetObjectSizeOverflowAgent
* @run main GetObjectSizeOverflow * @run main GetObjectSizeOverflow
*/ */
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* @summary Redefine a class with an UnresolvedClass reference in the constant pool. * @summary Redefine a class with an UnresolvedClass reference in the constant pool.
* @bug 8035150 * @bug 8035150
* @library /testlibrary * @library /testlibrary
* @build UnresolvedClassAgent com.oracle.java.testlibrary.ProcessTools com.oracle.java.testlibrary.OutputAnalyzer * @build com.oracle.java.testlibrary.* UnresolvedClassAgent
* @run main TestRedefineWithUnresolvedClass * @run main TestRedefineWithUnresolvedClass
*/ */
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
* @bug 8028623 * @bug 8028623
* @summary Test hashing of extended characters in Serviceability Agent. * @summary Test hashing of extended characters in Serviceability Agent.
* @library /testlibrary * @library /testlibrary
* @build com.oracle.java.testlibrary.*
* @compile -encoding utf8 Test8028623.java * @compile -encoding utf8 Test8028623.java
* @run main Test8028623 * @run main Test8028623
*/ */
......
...@@ -44,7 +44,7 @@ import com.oracle.java.testlibrary.ProcessTools; ...@@ -44,7 +44,7 @@ import com.oracle.java.testlibrary.ProcessTools;
* @key regression * @key regression
* @summary Regression test for hprof export issue due to large heaps (>2G) * @summary Regression test for hprof export issue due to large heaps (>2G)
* @library /testlibrary * @library /testlibrary
* @compile JMapHProfLargeHeapProc.java * @build com.oracle.java.testlibrary.* JMapHProfLargeHeapProc
* @run main JMapHProfLargeHeapTest * @run main JMapHProfLargeHeapTest
*/ */
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
*/ */
/* /*
* @test ClassesDirTest * @test
* @bug 8012447 * @bug 8012447
* @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src
* @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox ClassesDirTest Foo Bar * @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar
* @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar
* @run main ClassesDirTest prepare * @run main ClassesDirTest prepare
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld classes * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld classes
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
*/ */
/* /*
* @test ClassesListTest * @test
* @bug 8012447 * @bug 8012447
* @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src
* @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox ClassesListTest Foo Bar * @build ClassFileInstaller sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar
* @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar
* @run main ClassesListTest prepare * @run main ClassesListTest prepare
* @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 * @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
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
*/ */
/* /*
* @test JarDirTest * @test
* @bug 8012447 * @bug 8012447
* @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src
* @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox JarDirTest Foo Bar * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar
* @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar
* @run main JarDirTest prepare * @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/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld jars/*
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
*/ */
/* /*
* @test JarsTest * @test
* @bug 8012447 * @bug 8012447
* @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src * @library /testlibrary /testlibrary/whitebox /testlibrary/ctw/src
* @build sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox JarsTest Foo Bar * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar
* @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar
* @run main JarsTest prepare * @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/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Dsun.hotspot.tools.ctw.logfile=ctw.log sun.hotspot.tools.ctw.CompileTheWorld foo.jar bar.jar
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册