Integrated: JDK-8344058 : Remove doPrivileged calls from macos platform sources in the java.desktop module
Harshitha Onkar
honkar at openjdk.org
Mon Nov 18 19:22:03 UTC 2024
On Fri, 15 Nov 2024 18:45:11 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 macos-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: 92271af6
Author: Harshitha Onkar <honkar at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/92271af6358d38a49b02fb02020f9459c55fca26
Stats: 328 lines in 24 files changed: 7 ins; 186 del; 135 mod
8344058: Remove doPrivileged calls from macos platform sources in the java.desktop module
Reviewed-by: prr, aivanov
-------------
PR: https://git.openjdk.org/jdk/pull/22159
More information about the client-libs-dev
mailing list