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

Support cache removal even if JAR is used by running applets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 6
    • 1.4.1_03
    • deploy
    • None
    • generic
    • solaris_8

      When trying to clear JPI cache using "CLEAR" action while applet is running,
      the JPI removes entries from cache table (idx files) but does not remove JAR
      files. There is no error message. When trying to remove indivisual archives
      from the list brought up from VIEW there is error message that the file is
      in use and the cache entry does not disappear.

      Three issues:
      a. If there is a cache sise limit and its reached - the plug-in does not
      allow to download more archives since there are still JARs (zips) on the
      hard drive.

      b. Clearing cache when the JARs are in use must display same error message
      and there must be no removal of the idx files.

      c. The user sees empty cache list although there are physical files on the
      hard drive.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Download jars to cache and try to clear it using the Clear button from JPI
      control panel. No error message will be shown. The View cache will be empty.
      But phiysical files (zips) will still be present on your hard drive.

      EXPECTED VERSUS ACTUAL BEHAVIOR :

      EXPECTED -

      The error message should apper to notify the user that archives are in use.
      The archives should remain in the cache table. No deletion of idx files
      should take place.
      ACTUAL -
      No error messages, idx files are removed, but jars aren't

      REPRODUCIBILITY
      This bug can be reproduced always.
      ###@###.### 2004-11-05 22:41:53 GMT

            ngthomas Thomas Ng (Inactive)
            msusko Mark Susko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: