diff src/share/vm/runtime/thread.cpp @ 2302:da091bb67459

7022037: Pause when exiting if debugger is attached on windows Reviewed-by: dsamersoff, kamg, hosterda
author sla
date Mon, 28 Feb 2011 14:19:52 +0100
parents 5197f3d713a1
children c7f3d0b4570f
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Sat Feb 26 13:33:23 2011 -0500
+++ b/src/share/vm/runtime/thread.cpp	Mon Feb 28 14:19:52 2011 +0100
@@ -3644,6 +3644,7 @@
   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.