--- old/src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c 2020-05-20 18:03:33.146166346 -0700 +++ new/src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c 2020-05-20 18:03:32.810159893 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,14 +30,6 @@ #include "sys.h" #include "util.h" -#if defined(LINUX) || defined(_ALLBSD_SOURCE) || defined(AIX) - /* Linux, BSD, AIX */ - #define FORK() fork() -#else - /* Solaris (make sure we always get the POSIX-specified behavior) */ - #define FORK() fork1() -#endif - static char *skipWhitespace(char *p) { while ((*p != '\0') && isspace(*p)) { p++; @@ -100,7 +92,7 @@ } argv[i] = NULL; /* NULL terminate */ - if ((pid = FORK()) == 0) { + if ((pid = fork()) == 0) { /* Child process */ int i; long max_fd;