We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8676524 commit fa91cf4Copy full SHA for fa91cf4
test/hotspot/jtreg/compiler/lib/ir_framework/driver/TestVMProcess.java
@@ -244,7 +244,9 @@ private String getExceptionInfo() {
244
int exitCode = oa.getExitValue();
245
String stdErr = oa.getStderr();
246
String stdOut = "";
247
- if (exitCode == 134) {
+ boolean osIsWindows = Platform.isWindows();
248
+ boolean JVMHadError = (!osIsWindows && exitCode == 134) || (osIsWindows && exitCode == -1);
249
+ if (JVMHadError) {
250
// Also dump the stdout if we experience a JVM error (e.g. to show hit assertions etc.).
251
stdOut = System.lineSeparator() + System.lineSeparator() + "Standard Output" + System.lineSeparator()
252
+ "---------------" + System.lineSeparator() + oa.getOutput();
0 commit comments