JDK-8335598 : warning: [removal] AccessController in java.security has been deprecated
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2024-07-03
  • Updated: 2025-04-09
  • Resolved: 2025-04-09
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.
Other
internalFixed
Description
Below build warning is observed.

MTLPipeline.java:45: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
Comments
Changeset: 8ae8e4c0 Branch: metal Author: Ambarish Rapte <arapte@openjdk.org> Date: 2025-04-09 16:27:01 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/8ae8e4c03ed87ae5cb211e39021570cd073d9e66
09-04-2025

Btw, the only reason that this isn't a fatal build error is that we can't turn on -Werror for the javafx.graphics module until JDK-8334137 is fixed.
03-07-2024