On Thu, 10 Jul 2025 16:03:54 GMT, Mikhail Yankelevich 
<myankelev...@openjdk.org> wrote:

> Replaced Thread::stop to Thread::interrupt

test/jdk/sun/security/krb5/auto/KDC.java line 1649:

> 1647:         } else {
> 1648:             try {
> 1649:                 thread1.interrupt();

Each thread catches and ignores `Exception` which means the `interrupt()` call 
is ineffective.  The threads either need to exit when they catch `Exception` or 
explicitly catch `InterruptedException` and exit when it is thrown.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26247#discussion_r2207279620

Reply via email to