[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [RFC][Icedtea-web]: Fix downloading issue when closing javaws
From:       asu () redhat ! com (Andrew Su)
Date:       2011-05-30 17:54:51
Message-ID: 2062198498.372069.1306778091237.JavaMail.root () zmail01 ! collab ! prod ! int ! phx2 ! redhat ! com
[Download RAW message or body]



----- Original Message -----
> From: "Omair Majid" <omajid at redhat.com>
> To: distro-pkg-dev at openjdk.java.net
> Sent: Monday, May 30, 2011 1:30:05 PM
> Subject: Re: [RFC][Icedtea-web]: Fix downloading issue when closing javaws
> 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.

Thanks for the reviews, pushed.

http://icedtea.classpath.org/hg/icedtea-web/rev/4393a8c5101a
http://icedtea.classpath.org/hg/release/icedtea-web-1.1/rev/60b21220df55

Thanks,
  Andrew

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic