JDK-4794040 : Splash Screen cache structure has limitation to handle image and application
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2002-12-16
  • Updated: 2005-05-24
  • Resolved: 2005-05-24
Related Reports
Relates :  
Description
Tested using mantis beta 10. Happens on all platform.

current splash screen structure will associate the main jar file of the 
jnlp application with the splash icon. However, if two or more jnlp
application use the same main jar file, but has different splash icon,
JWS can not distiguish them.

An example:
http://sqesvr.sfbay.sun.com/deployment2/yuwang/development/bug/https_proxy2.jnlp
http://sqesvr.sfbay.sun.com/deployment2/yuwang/development/bug/https_proxy3.jnlp

the only difference is that they use different splash image.
If you launch one of them, then launch another, you will see that
the splash screen is still the old one.  You have to clear cache to
download the corresponding splash icon.

The reason is that inside splash.xml file, the association is jar-image
matching, like this:
http\://sqesvr.sfbay/deployment2/yuwang/development/bug/jar/hellojaws.jar=/home/yuwang/.java/.deployment/javaws/cache/splashes/splash7104.jpg

I think the correct association should be jnlp-image matching. One jnlp
represents one application, then one application has one icon or splash
screen.

Such scenario will not be uncommon in customer environment. Customer may have
one major jar file to act as start point, then run different functionality
based on different setting in the jnlp file.

###@###.### 2002-12-15

Comments
EVALUATION We use the url of the Main jar as the key to referance an application that has no href. In this sence, two jnlp files without href's that refer to the same main jar file are the same app. This applies to : cache location, customized splash screen, single instance service, and more. Although we will not fix this it needs to be beter explained in the doccumentation. ###@###.### 2002-12-16
16-12-2002