RFR: 8344060: Remove doPrivileged calls from shared implementation code in the java.desktop module : part 1 [v6]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Nov 20 04:18:53 UTC 2024


> Since JEP 486 : Permanently Disable the Security Manager
> [https://bugs.openjdk.org/browse/JDK-8338625] is now integrated, calls to java.security.AccessController.doPrivileged are obsolete and can be removed.
> 
> This PR takes care of some of the shared-platform files in the java.desktop module to have them removed.

Prasanta Sadhukhan has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:

 - Merge master
 - Redundant wrapping
 - remove redundant assignment
 - Remove suppresswarnings
 - Remove Suppresswarning
 - 8344060: Remove doPrivileged calls from shared implementation code in the java.desktop module : part 1

-------------

Changes: https://git.openjdk.org/jdk/pull/22133/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22133&range=05
  Stats: 481 lines in 26 files changed: 4 ins; 315 del; 162 mod
  Patch: https://git.openjdk.org/jdk/pull/22133.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22133/head:pull/22133

PR: https://git.openjdk.org/jdk/pull/22133


More information about the client-libs-dev mailing list