mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8139801: Error message from validation check has wrong order on Windows
Added flushing stdout and stderr before exit or abort Reviewed-by: coleenp, cjplummer
This commit is contained in:
parent
25cc742a8f
commit
468f74a1a8
2 changed files with 9 additions and 0 deletions
|
@ -575,6 +575,11 @@ void vm_shutdown()
|
|||
void vm_abort(bool dump_core) {
|
||||
vm_perform_shutdown_actions();
|
||||
os::wait_for_keypress_at_exit();
|
||||
|
||||
// Flush stdout and stderr before abort.
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
os::abort(dump_core);
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue