JDK-6918186 : java web start download dialog should not be displayed when loading from cache
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 Availability Release.
with 6u18, when launching application from cache, the default download window is still displayed. this is bad user experience. when there is no download, download window should not be displayed.
Problem: With 6u18, when launching application from cache, the default download window is still displayed. this is bad user experience. when there is no download, download window should not be displayed.
This is caused by all the code refactoring done in 6u18. Now we will delay the actual non-background update check of JAR resources until Launcher.downloadResources is called. And the first thing we do in downloadResources is to show the download window. So this caused the bug.
Fix: In downloadResources, instead of display the download window right the way, we instead set a allowVisible flag for the download window. When there is actual download takes place, we then check this flag to see if download window is allowed and not shown yet. If so, show the window. THis way, when there is no actual download, no download window will be shown.