JDK-7045716 : no-codebase jnlp file breaks determination of if an app is "installed"
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-17
  • Updated: 2011-07-19
  • Resolved: 2011-07-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.

To download the current JDK release, click here.
JDK 7
7 b143Fixed
Related Reports
Relates :  
Description
With a no-codebase jnlp file in the cache, we get a jnlp syntax error when checking if it is "installed".
This effects calling javaws -xclearcache (all nocodebase files are consider not installed and removed), and CacheViewer (where it reports the size of the cached and installed resources or apps).

in both cases we call down to CacheUtil.getExcludedCacheEntries, which tries to construct a LaunchDesc from a jnlp file by calling:
LaunchDescFactory.buildDescriptor(jnlpfile, null, null, null);

instead we need to use the codebase arg as will if lap has a codebase.

Comments
EVALUATION need to create ld from cached jnlp file using codebase if non-codebase jnlp file.
17-05-2011