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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 10
    • Affects Version/s: 10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: