JDK-8294870 : Remove references to RuntimePermission("stopThread") from security docs
  • Type: Sub-task
  • Component: docs
  • Sub-Component: guides
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2022-10-05
  • Updated: 2022-10-07
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 19 JDK 20
19.0.1Unresolved 20Unresolved
Description
RuntimePermission("stopThread") has been removed, so all references to it from security docs should also be removed. For example:

1. https://docs.oracle.com/en/java/javase/19/security/permissions-jdk1.html#GUID-8B521D4F-1502-42EA-BA70-8E3322A163B5 (search for “stopThread”). The 3 rows should be removed. 

Thread.stop(Throwable) was actually removed in a previous release, and ThreadGroup.stop() was degraded in 19 to throw UOE, so this is extra cleanup that should have been done already.

2. https://docs.oracle.com/en/java/javase/19/security/java-se-platform-security-architecture.html#GUID-744ACFDF-6ED1-473D-9D3A-5F34541A4377

Remove "stopThread" line.