JDK-8293684 : 11.3: Thread.stop no longer causes an asynchronous exception
  • Type: Sub-task
  • Component: specification
  • Sub-Component: language
  • Affected Version: 19
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-09-13
  • Updated: 2022-09-28
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 20
20Unresolved
Description
Thread.stop is changed for Java 20 to throw UnsupportedOperationException unconditionally. ThreadGroup.stop was changed to throw UOE in Java 19. Combined, it means there is no longer any user facing API to "stop" a Thread.

JLS 11.1.3 (and JVMS 2.10) will require the description of asynchronous exceptions to be updated.