RFR: 8344064: Remove doPrivileged calls from print/imageio/media classes in the java.desktop module
Andrey Turbanov
aturbanov at openjdk.org
Tue Nov 19 13:27:00 UTC 2024
On Sun, 17 Nov 2024 20:51:26 GMT, Phil Race <prr at openjdk.org> wrote:
> Remove doPrivileged calls from javax.imageio, javax.print and some sound impl classes
src/java.desktop/share/classes/javax/imageio/metadata/IIOMetadata.java line 401:
> 399: // Try to load from the module of the IIOMetadata implementation
> 400: // for this plugin since the IIOMetadataImpl is part of the plugin
> 401: Class<?> cls = getMetadataFormatClass(formatClassName);
Suggestion:
Class<?> cls = getMetadataFormatClass(formatClassName);
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22186#discussion_r1848362460
More information about the client-libs-dev
mailing list