On Sun, 17 Nov 2024 20:51:26 GMT, Phil Race <[email protected]> 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

Reply via email to