A typo in the documentation for class ProcessBuilder

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 7u76, 9
    • Component/s: core-libs
    • b57
    • x86_64
    • linux

        A DESCRIPTION OF THE PROBLEM :
        Dear all,

        i was reading with care the excellent documentation for class ProessBuilder, and i believe i have found a typo.In the phrase

        a destination for standard output and standard error. By default, the subprocess writes standard output and standard error to pipes. Java code can access these pipes via the input streams returned by __Process.getInputStream()__ and Process.getErrorStream().

        i believe you really meant

        a destination for standard output and standard error. By default, the subprocess writes standard output and standard error to pipes. Java code can access these pipes via the input streams returned by __Process.getOutputStream()__ and Process.getErrorStream().


        All the best,
        Hitlon



        URL OF FAULTY DOCUMENTATION :
        http://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html

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

                Created:
                Updated:
                Resolved: