< prev index next >

test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java

Print this page

        

*** 59,69 **** OutputAnalyzer output_detail = new OutputAnalyzer(pb.start()); // we should have crashed with a SIGSEGV output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*"); ! output_detail.shouldMatch("# +(?:SIGSEGV|EXCEPTION_ACCESS_VIOLATION).*"); // extract hs-err file String hs_err_file = output_detail.firstMatch("# *(\\S*hs_err_pid\\d+\\.log)", 1); if (hs_err_file == null) { throw new RuntimeException("Did not find hs-err file in output.\n"); --- 59,69 ---- OutputAnalyzer output_detail = new OutputAnalyzer(pb.start()); // we should have crashed with a SIGSEGV output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*"); ! output_detail.shouldMatch("# +(?:SIGSEGV|SIGBUS|EXCEPTION_ACCESS_VIOLATION).*"); // extract hs-err file String hs_err_file = output_detail.firstMatch("# *(\\S*hs_err_pid\\d+\\.log)", 1); if (hs_err_file == null) { throw new RuntimeException("Did not find hs-err file in output.\n");
< prev index next >