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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Sun Jan 5 13:33:54 UTC 2020


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