JDK-6814509 : applet jnlp file update check should be done in background if update check="background" is specified
Type:Bug
Component:deploy
Sub-Component:plugin
Affected Version:6u14
Priority:P2
Status:Closed
Resolution:Fixed
OS:windows
CPU:x86
Submitted:2009-03-06
Updated:2010-09-08
Resolved:2009-05-19
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.
performance wiki page:
http://j2se.sfbay.sun.com/web/bin/view/Deployment/JavaFXPerformance
use case 1, run 3
A: applet JNLP update check (202ms) - should be done in background if JNLP file allows background check and JNLP is cached and matches.
EVALUATION
Use cached applet JNLP to start applet and perform update check in background if JNLP file specify background update check.
Root cause was we are using LaunchDesc.buildDescriptor(File f) when trying to load cached jnlp, but that only works for dragged out applets. We should use using LaunchDesc.buildDescriptor(File f, URL codebase, URL documentbase, URL originalRequest) when trying to load JNLP from cache instead.