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

Harshitha Onkar honkar at openjdk.org
Fri Nov 15 23:02:42 UTC 2024


On Fri, 15 Nov 2024 10:26:05 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> 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 incrementally with one additional commit since the last revision:
> 
>   Remove Suppresswarning

Went through the changes. Looks like few SM imports and SuppressWarnings removal were missed which @prrace has already mentioned.

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

PR Review: https://git.openjdk.org/jdk/pull/22133#pullrequestreview-2439878392


More information about the client-libs-dev mailing list