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

Inverted use of DisplayVMOutputToStderr in ostream_exit

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: