hotspot/src/share/vm/runtime/thread.cpp
changeset 8476 7e34c2d4cf9b
parent 8118 7c1661c44c4a
child 8725 8c1e3dd5fe1b
--- a/hotspot/src/share/vm/runtime/thread.cpp	Sat Feb 26 13:33:23 2011 -0500
+++ b/hotspot/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.