Integrated: JDK-8344057 : Remove doPrivileged calls from unix platform sources in the java.desktop module

Harshitha Onkar honkar at openjdk.org
Wed Nov 20 20:30:55 UTC 2024


On Mon, 18 Nov 2024 20:18:39 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Post JEP-486 (Permanently Disable the Security Manager) cleanup.
> Calls to java.security.AccessController.doPrivileged are obsolete thus removed in this PR.
> 
> This PR addresses removal of AccessController.doPrivileged() calls from unix-platform files in the java.desktop module. Any SM related imports that are no longer needed are removed.
> 
> This PR is limited to removing doPrivileged() calls and excludes any refactoring, reformatting, or other clean up that is out-of-scope for this fix.
> 
> PS: I have explicitly add comments to the changes where a more watchful review is required.

This pull request has now been integrated.

Changeset: b9bf4472
Author:    Harshitha Onkar <honkar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b9bf447209db5d7f6bb16a0310421dbe4170500c
Stats:     545 lines in 25 files changed: 44 ins; 285 del; 216 mod

8344057: Remove doPrivileged calls from unix platform sources in the java.desktop module

Reviewed-by: prr

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

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


More information about the client-libs-dev mailing list