< prev index next >

test/runtime/ErrorHandling/TestOnError.java

Print this page

        

*** 23,39 **** /* * @test TestOnError * @summary Test using -XX:OnError=<cmd> * @modules java.base/jdk.internal.misc ! * @library /testlibrary ! * @build TestOnError * @run main TestOnError * @bug 8078470 */ ! import jdk.test.lib.*; public class TestOnError { public static void main(String[] args) throws Exception { if (!Platform.isDebugBuild()) { --- 23,40 ---- /* * @test TestOnError * @summary Test using -XX:OnError=<cmd> * @modules java.base/jdk.internal.misc ! * @library /test/lib * @run main TestOnError * @bug 8078470 */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; ! import jdk.test.lib.Platform; public class TestOnError { public static void main(String[] args) throws Exception { if (!Platform.isDebugBuild()) {
< prev index next >