Skip to content

Commit

Permalink
Print to stdout instead of stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrako committed Mar 12, 2024
1 parent 80df890 commit 6252939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/unix/native/jspawnhelper/jspawnhelper.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int main(int argc, char *argv[]) {
#endif

if (strcmp(argv[1], VERSION_STRING) != 0) {
fprintf(stderr, "Version check failed. jspawnhelper version: %s, JDK version: %s\n", VERSION_STRING, argv[1]);
fprintf(stdout, "Version check failed. jspawnhelper version: %s, JDK version: %s\n", VERSION_STRING, argv[1]);
shutItDown();
}

Expand Down

0 comments on commit 6252939

Please sign in to comment.