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

Confusing javadoc comment to the getOutput(ProcessBuilder processBuilder) method of jdk.test.lib.process.ProcessTools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 10
    • 10
    • hotspot
    • b21

      javadoc to the getOutput(ProcessBuilder processBuilder) method of jdk.test.lib.process.ProcessTools incorrectly calls the parameter as "processHandler":

          /**
           * Pumps stdout and stderr from running the process into a String.
           *
           * @param processHandler ProcessHandler to run.
           * @return Output from process.
           * @throws IOException If an I/O error occurs.
           */
          public static OutputBuffer getOutput(ProcessBuilder processBuilder)

      this may confuse readers and needs to be fixed.

            dfazunen Dmitry Fazunenko (Inactive)
            dfazunen Dmitry Fazunenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: