mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
This commit is contained in:
parent
52708b0603
commit
cc6f461357
11 changed files with 63 additions and 5 deletions
|
@ -3644,6 +3644,7 @@ bool Threads::destroy_vm() {
|
|||
if (ShowMessageBoxOnError && is_error_reported()) {
|
||||
os::infinite_sleep();
|
||||
}
|
||||
os::wait_for_keypress_at_exit();
|
||||
|
||||
if (JDK_Version::is_jdk12x_version()) {
|
||||
// We are the last thread running, so check if finalizers should be run.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue