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

Deprecate Runtime.exec methods with a single string command line argument

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 18
    • 18
    • core-libs
    • b23

      The three methods of java.lang.Runtime that accept a single command line string and break it into arguments should be deprecated.
      The tokenization uses only whitespace characters, ignoring quote characters.
      It is error prone because it is quotes may appear in the string but are ignored.
      The recommendation is to use the corresponding methods of Runtime that take an array of string arguments.

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

              Created:
              Updated:
              Resolved: