equal
deleted
inserted
replaced
3642 |
3642 |
3643 // Hang forever on exit if we are reporting an error. |
3643 // Hang forever on exit if we are reporting an error. |
3644 if (ShowMessageBoxOnError && is_error_reported()) { |
3644 if (ShowMessageBoxOnError && is_error_reported()) { |
3645 os::infinite_sleep(); |
3645 os::infinite_sleep(); |
3646 } |
3646 } |
|
3647 os::wait_for_keypress_at_exit(); |
3647 |
3648 |
3648 if (JDK_Version::is_jdk12x_version()) { |
3649 if (JDK_Version::is_jdk12x_version()) { |
3649 // We are the last thread running, so check if finalizers should be run. |
3650 // We are the last thread running, so check if finalizers should be run. |
3650 // For 1.3 or later this is done in thread->invoke_shutdown_hooks() |
3651 // For 1.3 or later this is done in thread->invoke_shutdown_hooks() |
3651 HandleMark rm(thread); |
3652 HandleMark rm(thread); |