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

Resources still can be downloaded with a smaller cache size setting

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0u1
    • deploy
    • None
    • x86
    • windows_xp

      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

            Unassigned Unassigned
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: