JDK-8342280 : Deprecate for removal java.awt.AWTPermission
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-10-15
  • Updated: 2024-11-28
  • Resolved: 2024-11-27
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 24
24 b26Fixed
Related Reports
Blocks :  
CSR :  
Description
Once JEP 486 (Permanently Disable the Security Manager) is integrated, we should deprecate  java.awt.AWTPermission
Comments
Changeset: cf5ee0bd Branch: master Author: Phil Race <prr@openjdk.org> Date: 2024-11-27 22:10:25 +0000 URL: https://git.openjdk.org/jdk/commit/cf5ee0bda2e50d91673ff6bfa2d6d1dbb96fa99b
27-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22378 Date: 2024-11-26 01:16:22 +0000
26-11-2024

In the same PR I should also remove what looks like the last API mention of AWT permissions in src/java.desktop/share/classes/java/awt/doc-files/Modality.html : A special <code>AWTPermission</code>, <code>"toolkitModality"</code>, is required to show toolkit-modal
25-11-2024