Origin: commit,
262747094670b00ac63463a059074afa9b81d8a4
Bug: https://bugs.openjdk.org/browse/JDK-
8325567
Co-authored-by: Vladimir Petko <vpetko@openjdk.org>
Reviewed-by: eastigeevich, rriggs, shade, vpetko
Reviewed-by: eastigeevich, rriggs, shade, vpetko
Gbp-Pq: Name jdk-
8325567.patch
fprintf(stdout, "only be run as the result of a call to\n");
fprintf(stdout, "ProcessBuilder.start() or Runtime.exec() in a java ");
fprintf(stdout, "application\n");
+ fflush(stdout);
_exit(1);
}
/* argv[1] contains the fd number to read all the child info */
int r, fdinr, fdinw, fdout;
+ if (argc != 2) {
+ shutItDown();
+ }
+
#ifdef DEBUG
jtregSimulateCrash(0, 4);
#endif