8211013: [TESTBUG] nsk/jdb/kill/kill002 wait for message and prompt
Reviewed-by: cjplummer, dtitov, jcbeyler
--- 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);