8293591: Remove use of Thread.stop from jshell tests
Reviewed-by: alanb
This commit is contained in:
parent
aff5ff14b2
commit
fbd8b42d70
@ -120,12 +120,9 @@ public class UITesting {
|
||||
waitOutput(out, PROMPT);
|
||||
test.test(inputSink, out);
|
||||
} finally {
|
||||
inputSink.write(INTERRUPT + INTERRUPT + "/exit");
|
||||
inputSink.write(INTERRUPT + INTERRUPT + "/exit\n");
|
||||
|
||||
runner.join(1000);
|
||||
if (runner.isAlive()) {
|
||||
runner.stop();
|
||||
}
|
||||
runner.join();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user