RFR: 8344064: Remove doPrivileged calls from print/imageio/media classes in the java.desktop module [v2]

Phil Race prr at openjdk.org
Tue Nov 19 18:31:06 UTC 2024


On Tue, 19 Nov 2024 17:44:52 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8344064
>
> src/java.desktop/share/classes/com/sun/media/sound/SoftSynthesizer.java line 635:
> 
>> 633:     }
>> 634: 
>> 635:    static interface RunnableAction<T> {
> 
> Can we use `java.util.function.Supplier`  instead?

I could, but I chose to do this instead.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22186#discussion_r1848853531


More information about the client-libs-dev mailing list