JDK-6209417 : Resources still can be downloaded with a smaller cache size setting
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0u1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-12-16
  • Updated: 2010-09-29
  • Resolved: 2004-12-16
Related Reports
Duplicate :  
Description
Bug Description:
----------------
Set cache size to a value less that that of the resources specified in the jnlp file , but the resources still can be download successfully

Build information:
------------------
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

Steps:
-------------------
1.Install the jre1.5.0_01
2.Set cache size to maximum 1 bytes :
  Launch javaws , the "Java Application Cache Viewer" will be open
  Click Proference in Edit Menu 
  In Control Panel , click setting button General Tab
  In "Amount of disk space to use" , click maximum radio button and set 1 byte
  Apply and close the control panel and javaws
4.Import a jnlp with resources 
  Type following line in command prompt 
  javaws -import http://piscesz.prc/jawstest/BAT.jnlp
  The resources specified in that jnlp file is a jar file named hellojaws.jar
5.Resources be downloaded successfully into cache ,after click "OK" the popsup JNLP Cache Size Warning dialog
###@###.### 2004-12-16 09:07:19 GMT

Comments
EVALUATION Java Web Start was never specified to support the cache max value as anything other than a suggestion. Since tiger has no capability of running an application w/o caching it, and no facility to automatically uninstall applications to make room for newer ones, this functionality was never planed or implemented in 1.5.0. It should, however, be part of Feature 156 in Mustang. ###@###.### 2004-12-16 15:31:37 GMT
16-12-2004