JDK-6713144 : PIT:Double entries in Java Cache Viewer/Applications for javaws -import install_demo.jnlp
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-06-11
  • Updated: 2011-02-16
  • Resolved: 2009-03-05
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.

To download the current JDK release, click here.
JDK 6
6u14 b01Fixed
Related Reports
Relates :  
Relates :  
Description
This regression is introduced in b23 PIT. 
The correspondig CR 6695124 filed by Sergei is closed as duplicate of 
6705524 - OOPP/General: Concurency issues (properties r/w, JREInfo r/w, CleanupThread, removeDuplicateEntries) 
6705524 is in Fix Available State and integrated in b26 PIT.

The  testcase provided with b26 PIT 
http://j2se.east.sun.com/deployment/www/tests/1.6.0_10/6705524/
is not failing.So filing another bug to track this issue. 

Double entries in Java Cache Viewer/Applications after 
javaws -import http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/extensionInstaller/install_demo.jnlp / 
javaws http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/extensionInstaller/install_demo.jnlp  /
javaws http://ebugster.sfbay.sun.com/dev/ebugster.jnlp
  

All platforms:
To reproduce:
- install build 26 PIT (any build from 6u10b23)
- clean the cache
- javaws -import http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/extensionInstaller/install_demo.jnlp
- open  Java Cache Viewer/Applications
- you will see same application repeated twice:  Java Web Start Extension Installer -- Installing Demo Extension
- open Java Cache Viewer/Resources
- you will see there: 6 entries: testdemo.jar, installer.jar, testdemo.jnlp, install_demo.jnlp, demo_ext.jnlp, Button.jpg

Same scenario for build 22 you can see only one entry in Java Cache Viewer/Applications : Java Web Start Extension Installer -- Installing Demo Extension
and only 5 entries in Java Cache Viewer/Resources - install_demo.jnlp is missing !?

Comments
EVALUATION problem is based on installer extension w/o an href - one vm caches the file based on the referring vm instances referencing url, but the second vm dosn't have the reference and caches it based on the cononical url of this jnlp file.
18-06-2008