RFR: JDK-8344057 : Remove doPrivileged calls from unix platform sources in the java.desktop module [v4]

Phil Race prr at openjdk.org
Wed Nov 20 20:22:12 UTC 2024


On Wed, 20 Nov 2024 19:56:35 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.
>
> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   removed printStackTrace()

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22218#pullrequestreview-2449592971


More information about the client-libs-dev mailing list