On 1/21/20 12:26 pm, Jason Mehrens wrote:
+1 for Sergey suggestion.

Or probably we need to try to load the image again because of the spec of the 
method state this:
"Loads the image, returning only when the image is loaded."


________________________________________
From: Sergey Bylokhov <[email protected]>
Sent: Sunday, January 19, 2020 9:31 PM
To: Volodin, Vladislav; Jason Mehrens
Cc: [email protected]
Subject: Re: <Swing Dev> Remove System.out.println from ImageIcon.loadImage

I guess there are no objections, probably the best way to fix
it is to drop the System.out.println and set interrupted flag.

On 1/16/20 7:05 am, Volodin, Vladislav wrote:
If people in this distribution list agree, I can start working on a simple fix 
and either remove the logging (System.out.println), or replace it with 
PlatformLogger. I guess the second solution sounds better, but I don't know 
what is the better way to write a test-case for it.


--
Best regards, Sergey.



--
Best regards, Sergey.

Reply via email to