Class ProcessUtils

java.lang.Object
net.adoptopenjdk.icedteaweb.ProcessUtils

public class ProcessUtils extends Object
  • Field Details

    • LOG

      private static final Logger LOG
  • Constructor Details

    • ProcessUtils

      public ProcessUtils()
  • Method Details

    • waitForSafely

      public static void waitForSafely(Process process)
      This should be workaround for https://en.wikipedia.org/wiki/Spurious_wakeup which real can happen in case of processes. See http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2015-June/032350.html thread
      Parameters:
      process - process to be waited for