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

Inverted use of DisplayVMOutputToStderr in ostream_exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 23
    • hotspot
    • b02

      ostream_exit has this line:

      https://github.com/openjdk/jdk/blame/140f56718bbbfc31bb0c39255c68568fad285a1f/src/hotspot/share/utilities/ostream.cpp#L970
        tty = DisplayVMOutputToStderr ? fdStream::stdout_stream() : fdStream::stderr_stream();

      The terniary operator consequent clauses should be swapped.

            szaldana Sonia Zaldana Calles
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: