<Swing Dev> Remove System.out.println from ImageIcon.loadImage

Jason Mehrens jason_mehrens at hotmail.com
Tue Jan 14 20:58:46 UTC 2020


This was the bug id when I reported it:  https://bugs.openjdk.java.net/browse/JDK-6421373

Notice it was closed as will not fix.  I think that is incorrect but, I'm biased :)

Jason

________________________________________
From: swing-dev <swing-dev-bounces at openjdk.java.net> on behalf of Sergey Bylokhov <Sergey.Bylokhov at oracle.com>
Sent: Sunday, January 5, 2020 7:33 AM
To: swing-dev at openjdk.java.net
Subject: Re: <Swing Dev> Remove System.out.println from ImageIcon.loadImage

Hi, Matthias.

I suggest to create a bug report for this issue:
https://bugs.java.com/bugdatabase

On 1/5/20 11:53 am, Matthias Perktold - ASA wrote:
> Hi all,
>
> In javax.swing.ImageIcon.loadImage(), there is a call to System.out.println() when loading the Image has been interrupted.
>
> In our system, this is a problem because redirect System.out to be displayed to the user to make sure no errors remain unnoticed.
>
> But in this case, the message does not really represent an error, so we should not display a message.
>
> Instead, I propose to restore the interrupt status.
>
> Best regards,
>
> Matthias Perktold
>


--
Best regards, Sergey.


More information about the swing-dev mailing list