RFR: 8344059: Remove doPrivileged calls from windows platform sources in the java.desktop module [v5]

Kevin Rushforth kcr at openjdk.org
Fri Nov 15 16:08:50 UTC 2024


On Fri, 15 Nov 2024 14:22:11 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 the windows-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 missed SuppressWarnings

Looks good, although you might also be able to remove the SuppressWarnings from `WEmbeddedFrame::getPrintScaleFactor`.

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

Marked as reviewed by kcr (Author).

PR Review: https://git.openjdk.org/jdk/pull/22083#pullrequestreview-2439048096


More information about the client-libs-dev mailing list