On Tue, 15 Mar 2022 11:48:23 GMT, Tejesh R <d...@openjdk.java.net> wrote:

>> I have loaded gif image from local storage.....
>> 
>> INTERRUPTED while loading Image
>> false
>>     COMPLETE
>
> For url image I'm getting "ERRORED" as output......

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.

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

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

Reply via email to