mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +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
|
@ -4061,6 +4061,10 @@ static jint JNI_CreateJavaVM_inner(JavaVM **vm, void **penv, void *args) {
|
|||
OrderAccess::release_store(&vm_created, 0);
|
||||
}
|
||||
|
||||
// Flush stdout and stderr before exit.
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue