RFR: 8293591: Remove use of Thread.stop from jshell tests

Alan Bateman alanb at openjdk.org
Thu Sep 15 11:14:43 UTC 2022


On Wed, 14 Sep 2022 17:06:05 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Two changes here:
> - confirming the '/exit` command, so that the JShell instance is actually stopped
> - removing the call to `Thread.stop`, which is intended to stop the test if something goes wrong unexpectedly. As we cannot use `Thread.stop` anymore, we'll rely on jtreg to stop the test.

Leaving it to jtreg when something goes wrong and the test times out seems right. Thanks for doing this.

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10271


More information about the kulla-dev mailing list