Image parsing spams stack traces to System.err

Brian Burkhalter brian.burkhalter at oracle.com
Tue Apr 20 20:38:33 UTC 2021


I think this post needs to go to 2d-dev (copied).

> On Apr 20, 2021, at 9:58 AM, Lapo Luchini <lapo at lapo.it> wrote:
> 
> 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