7022037: Pause when exiting if debugger is attached on windows

Reviewed-by: dsamersoff, kamg, hosterda
This commit is contained in:
Staffan Larsen 2011-02-28 14:19:52 +01:00
parent 52708b0603
commit cc6f461357
11 changed files with 63 additions and 5 deletions

View file

@ -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.