JDK-6350698 : Java Cache Viewer shows incorrect resource sizes.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-11-15
  • Updated: 2010-04-04
  • Resolved: 2005-12-06
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
6 b63Fixed
Related Reports
Relates :  
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.

Comments
EVALUATION OK - user size of files on disk including icons and jnlp files.
20-11-2005