JDK-7077787 : Preloader jars are checked for update even when update policy background and already in cache
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Priority: P3
  • Affected Version: 7-client
  • OS: generic
  • CPU: generic
  • Submit Date: 2011-08-11
  • Updated Date: 2011-09-22
  • Resolved Date: 2011-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u2 b03Resolved 8Resolved
Description
* With tracing all on, run Fx sample applet with preloader multiple time:
http://jfx.sfbay.sun.com/hudson/job/presidio-deploy-scrum/label=windows-i586-14/253/artifact/artifacts/deployed/FadeInPreloader/
* Check console output to see first time there would be network trace: Downloaded <url> : <file>.
* Check console output in subsequent runs still see the same trace on the preloaders.jar.

Comments
EVALUATION Actually the fix is limited to have common facility in LaunchDownload.prepareCustomProgress() to be called with doUpdate param set to value true only if not all files are in cache, OR if update policy require update check. Fix checked in with changeset: 1024:f18bb99493cc ssh://###@###.###//javafx/client/7-client/deploy/deploy
2011-08-15

EVALUATION The download code path for preloader jar call GET to check if update is needed. The fix is to use HEAD instead.
2011-08-11