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.
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.
- relates to
-
JDK-8292351 tty should always live
- Resolved