test/runtime/ErrorHandling/ProblematicFrameTest.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/runtime/ErrorHandling/ProblematicFrameTest.java Thu Aug 4 08:32:33 2016
--- new/test/runtime/ErrorHandling/ProblematicFrameTest.java Thu Aug 4 08:32:31 2016
*** 46,56 ****
--- 46,56 ----
}
}
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
! "-Xmx64m", "-XX:-TransmitErrorReport", "-XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED", "-XX:-CreateCoredumpOnCrash", Crasher.class.getName());
! "-Xmx64m", "-XX:-TransmitErrorReport", "--add-exports:java.base/jdk.internal.misc=ALL-UNNAMED", "-XX:-CreateCoredumpOnCrash", Crasher.class.getName());
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldNotContain("Exception in thread");
output.shouldNotMatch("error occurred during error reporting \\(printing problematic frame\\)");
}
}
test/runtime/ErrorHandling/ProblematicFrameTest.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File