changeset 52388:8f543813b402

8211013: [TESTBUG] nsk/jdb/kill/kill002 wait for message and prompt Reviewed-by: cjplummer, dtitov, jcbeyler
author gadams
date Tue, 23 Oct 2018 14:23:46 -0400
parents 45e3d52aaced
children 0eedd8701f91
files src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTY.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTY.java	Tue Oct 23 11:51:03 2018 -0400
+++ b/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTY.java	Tue Oct 23 14:23:46 2018 -0400
@@ -506,6 +506,7 @@
                             showPrompt = false;
                             evaluator.commandNext();
                         } else if (cmd.equals("kill")) {
+                            showPrompt = false;        // asynchronous command
                             evaluator.commandKill(t);
                         } else if (cmd.equals("interrupt")) {
                             evaluator.commandInterrupt(t);