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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 18
    • Affects Version/s: 18
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: