--- old/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/libInheritedChannel.c 2020-05-20 18:06:29.985561791 -0700 +++ new/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/libInheritedChannel.c 2020-05-20 18:06:29.593554263 -0700 @@ -135,11 +135,7 @@ * Launch the program. As this isn't a complete inetd or Runtime.exec * implementation we don't have a reaper to pick up child exit status. */ -#ifdef __solaris__ - pid = fork1(); -#else pid = fork(); -#endif if (pid != 0) { if (pid < 0) { ThrowException(env, "java/io/IOException", "fork failed");