Image parsing spams stack traces to System.err

Lapo Luchini lapo at lapo.it
Tue Apr 20 16:58:49 UTC 2021


In both OpenJDK 8, 11 and 15 I verified that:

sun/awt/image/InputStreamImageSource.java

has "e.printStackTrace()" commands that might better be converted to 
java.util.logging in order to be able to configure/redirect them to the 
proper log file each application might decide to use.

A little bit of more details as reported here (where they suggested this 
was the proper place):
https://github.com/AdoptOpenJDK/openjdk-jdk11u/issues/21

cheers,

-- 
Lapo Luchini
lapo at lapo.it



More information about the core-libs-dev mailing list