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 9310918 commit e1a80caCopy full SHA for e1a80ca
test/hotspot/jtreg/compiler/lib/ir_framework/driver/TestVMProcess.java
@@ -253,7 +253,9 @@ private String getExceptionInfo() {
253
int exitCode = oa.getExitValue();
254
String stdErr = oa.getStderr();
255
String stdOut = "";
256
- if (exitCode == 134) {
+ boolean osIsWindows = Platform.isWindows();
257
+ boolean JVMHadError = (!osIsWindows && exitCode == 134) || (osIsWindows && exitCode == -1);
258
+ if (JVMHadError) {
259
// Also dump the stdout if we experience a JVM error (e.g. to show hit assertions etc.).
260
stdOut = System.lineSeparator() + System.lineSeparator() + "Standard Output" + System.lineSeparator()
261
+ "---------------" + System.lineSeparator() + oa.getOutput();
0 commit comments