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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Nov 15 03:29:14 UTC 2024


On Thu, 14 Nov 2024 18:29:59 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review comment
>
> src/java.desktop/windows/classes/sun/print/PrintServiceLookupProvider.java line 95:
> 
>> 93: 
>> 94:             // start the local printer listener thread
>> 95:             AccessController.doPrivileged((PrivilegedAction<Thread>) () -> {
> 
> Can you remove the `@SuppressWarnings("removal")` from this method after this change?

ok

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22083#discussion_r1843139983


More information about the client-libs-dev mailing list