Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7045716

no-codebase jnlp file breaks determination of if an app is "installed"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 7
    • 7
    • deploy
    • None
    • b143
    • generic
    • generic
    • Verified

      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.

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: