Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282008 Incorrect handling of quoted arguments in ProcessBuilder
  3. JDK-8283137

Release Note: Incorrect Handling of Quoted Arguments in ProcessBuilder

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 19
    • 8u361, 11.0.18-oracle, 17.0.6-oracle, 19
    • core-libs

        ProcessBuilder on Windows is restored to its previous functionality to address a regression caused by JDK-8250568. Previously, an argument to ProcessBuilder that started with a double-quote and ended with a backslash followed by a double-quote was passed as a command incorrectly and may have caused the command to fail. For example the argument `"C:\\Program Files\"`, would be seen as a command with extra double-quotes. This update restores the long standing behavior that does not treat the backslash before the final double-quote specially.

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: