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

Tejesh R duke at openjdk.java.net
Tue Mar 15 12:13:48 UTC 2022


On Tue, 15 Mar 2022 12:09:12 GMT, Tejesh R <duke at openjdk.java.net> wrote:

>> A small file from local storage loads fast enough. By the time you get to read status, load could complete.
>> 
>> For the url, do you use the same URL? If the connection can be established, it should load pretty fast too. However, if you need a proxy server to access the Internet but you won't provide one, it won't load as fast, nor will it report error fast enough.
>> 
>> Anyway, my example above confirms *it's possible the status remains `LOADING`*. But the image isn't loading, it will never load and its status will never change, so you have to amend the status to a correct one.
>
> Yeah, got it...... I used the same url though......

N for current bug, where to change to change the status to "ABORTED"......?? As I cannot change in ImageIcon class......

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

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



More information about the client-libs-dev mailing list