< prev index next >
test/runtime/ErrorHandling/ErrorHandler.java
Print this page
@@ -26,15 +26,17 @@
* @bug 6888954
* @bug 8015884
* @summary Exercise HotSpot error handling code by invoking java with
* -XX:ErrorHandlerTest option to cause an error report. Check the results.
* @modules java.base/jdk.internal.misc
- * @library /testlibrary
+ * @library /test/lib
* @run driver ErrorHandler
*/
-import jdk.test.lib.*;
+import jdk.test.lib.Platform;
+import jdk.test.lib.process.ProcessTools;
+import jdk.test.lib.process.OutputAnalyzer;
public class ErrorHandler {
public static OutputAnalyzer runTest(int testcase) throws Exception {
return new OutputAnalyzer(
< prev index next >