RFR: 8236987: Remove call to System.out.println from ImageIcon.loadImage

Tejesh R duke at openjdk.java.net
Tue Mar 15 11:51:41 UTC 2022


On Tue, 15 Mar 2022 09:43:13 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> @aivanov-jdk , even after interrupted the load status gets the "COMPLETE" status and I'm able to use the Imageicon for frame......
>
> @TejeshR13, What kind of image do you load?
> 
> If I load an image from the Internet, I get `LOADING` status. I've attached `ImageIconInterrupt.java` to [JDK-6421373](https://bugs.openjdk.java.net/browse/JDK-6421373). It produces the following output:
> 
> 
> INTERRUPTED while loading Image
> false
> 1
>     LOADING

I have loaded gif image from local storage.....

INTERRUPTED while loading Image
false
    COMPLETE

-------------

PR: https://git.openjdk.java.net/jdk/pull/7754



More information about the client-libs-dev mailing list