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

Java Cache Viewer shows incorrect resource sizes.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: deploy
    • Labels:
      None

      Description

      The size field listed in the Java Cache Viewer is not an accurate size for either jnlp applications or resources.
      The code uses the CacheEntry.getContentSize(), which unless the item was downloaded using jardiff, is the actual urlconnection content size field, instead of the size of the file stored on disk.
      for example, clear the cache, and run the simple 3d demo:
      http://oklahoma.east/jnlp-servlet/deployment/javaws/generic/3d/hello.jnlp

      the total cache size is 2919 K
      the total size of the listed resources is 2762 K
      the size of the one app is: 2596 K

      these numbers should be a lot closer to equal.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              herrick Andy Herrick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: