Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272436

java.lang.Process.exitValue() can throw IOException

XMLWordPrintable

    • x86_64
    • windows_7

      A DESCRIPTION OF THE PROBLEM :
      java.lang.Process.exitValue() can throw IOException, though it is not supposed to.

      This is from a bug report from one of our users, who did not leave contact information.

      In order for the code that lead to this exception to be executed, the process must have been launched successfully.

      We have not seen this exception for previous version of Java.


      ACTUAL -
      GetExitCodeProcess error=6, Invalid handle
      java.io.IOException: GetExitCodeProcess error=6, Invalid handle
          at java.base/java.lang.ProcessImpl.getExitCodeProcess(Native Method)
          at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:551)


      FREQUENCY : occasionally


            rriggs Roger Riggs
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: