Skip to content

Commit bb7f14e

Browse files
committed
[GR-55075] Output from Java wrapper launchers diverted to stderr.
PullRequest: graal/18201
2 parents df92929 + bc5d48a commit bb7f14e

File tree

1 file changed

+4
-4
lines changed
  • sulong/projects/com.oracle.truffle.llvm.toolchain.launchers/src/com/oracle/truffle/llvm/toolchain/launchers/common

1 file changed

+4
-4
lines changed

sulong/projects/com.oracle.truffle.llvm.toolchain.launchers/src/com/oracle/truffle/llvm/toolchain/launchers/common/Driver.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public final int runDriverReturn(List<String> sulongArgs, List<String> userArgs,
200200
// set exit code
201201
int exitCode = p.exitValue();
202202
if (verbose) {
203-
System.out.println("exit code: " + exitCode);
203+
System.err.println("exit code: " + exitCode);
204204
}
205205
return exitCode;
206206
} catch (IOException ioe) {
@@ -251,9 +251,9 @@ private void printInfos(boolean verbose, boolean help, boolean earlyExit, ArrayL
251251
System.out.println("GraalVM version: " + getVersion());
252252
}
253253
if (verbose) {
254-
System.out.println("GraalVM wrapper script for " + getTool());
255-
System.out.println("GraalVM version: " + getVersion());
256-
System.out.println("running: " + String.join(" ", toolArgs));
254+
System.err.println("GraalVM wrapper script for " + getTool());
255+
System.err.println("GraalVM version: " + getVersion());
256+
System.err.println("running: " + String.join(" ", toolArgs));
257257
}
258258
if (help) {
259259
if (!earlyExit) {

0 commit comments

Comments
 (0)