JDK-8360979 : Remove use of Thread.stop in krb5/auto/KDC.java
  • Type: Bug
  • Component: security-libs
  • Sub-Component: org.ietf.jgss:krb5
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-06-29
  • Updated: 2025-09-25
  • Resolved: 2025-09-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b17Fixed
Related Reports
Relates :  
Description
The terminally deprecated Thread.stop method throws UnsupportedOperationException since JDK 18. The next step is removing the method.

krb5/auto/KDC.java will not compile if Thread.stop is removed. This causes a lot of tests in the following directories to fail:

javax/net/ssl/DTLS/*
javax/net/ssl/DTLSv10/*
javax/net/ssl/TLS/*
sun/security/krb5/auto/*

KDC needs to be updated to remove the use of Thread.stop.

Comments
Changeset: 2a232d02 Branch: master Author: Mikhail Yankelevich <myankelevich@openjdk.org> Date: 2025-09-24 13:21:31 +0000 URL: https://git.openjdk.org/jdk/commit/2a232d0210015606da7207edab793760fdb61b57
24-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26247 Date: 2025-07-10 16:03:54 +0000
10-07-2025