[RFC][Icedtea-web]: Fix downloading issue when closing javaws

Omair Majid omajid at redhat.com
Mon May 30 10:30:05 PDT 2011


On 05/30/2011 12:25 PM, Andrew Su wrote:
> Hello,
>
> This fix is to fix the problem where if you close javaws while it is downloading, it will refuse to redownload the file.
>
> ChangeLog:
>
> 2011-05-30  Andrew Su<asu at redhat.com>
>
>          * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
>          (downloadResource): Check whether file to be downloaded
>          is current.
>
> Okay to apply this to HEAD and 1.1?
>

I was a little unclear on why the calls to CacheEntry.initialize() were 
needed. But after you explains on IRC how initializeResources() only 
calls CacheEntry.initialize() for the final location (which is different 
from the compressed file location), this makes a lot of sense.

Okay for HEAD and 1.1.

Cheers,
Omair



More information about the distro-pkg-dev mailing list