On Fri, 25 Jul 2025 07:56:49 GMT, Jaikiran Pai <j...@openjdk.org> wrote:
> Can I please get a review of this test-only change which fixes an accidental > use of `Thread.stop()`? This addresses > https://bugs.openjdk.org/browse/JDK-8358048. > > The test during it's termination attempts to close the `ProxyServer` and > invokes `ProxyServer.stop()`. The `ProxyServer` does not have a `stop()` > method of its own but since the `ProxyServer` is a `java.lang.Thread`, > calling `stop()` on the `ProxyServer` ends up calling the `Thread.stop()`. > The use of `stop()` in this test is accidental and the test should have used > `ProxyServer.close()`. > > The commit in this PR fixes the issue by removing the use of > `ProxyServer.stop()`. The test continues to pass with this change. Marked as reviewed by alanb (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/26473#pullrequestreview-3055008220