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

A typo in the documentation for class ProcessBuilder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 7u76, 9
    • 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

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

                Created:
                Updated:
                Resolved: