8211013: [TESTBUG] nsk/jdb/kill/kill002 wait for message and prompt
authorgadams
Tue, 23 Oct 2018 14:23:46 -0400
changeset 52366 8f543813b402
parent 52365 45e3d52aaced
child 52367 0eedd8701f91
8211013: [TESTBUG] nsk/jdb/kill/kill002 wait for message and prompt Reviewed-by: cjplummer, dtitov, jcbeyler
src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTY.java
--- 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);