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

Dummy jar files in with no resources needed by applet are cached.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      When a dummy jar file is specified in the archive or cache_archive these jar files are downloaded even when the applet doesnot need any resources in these
      jar files to run the applet.

      Here are scenarios in which the jar files are downloaded .

      1. archive="jartest.jar,carch.jar" where carch.jar has some abc.txt which is not required for the applet (applet doesn't need any resources from this jar file)
      but carch.jar is downloaded and cached.

      2. archive =jartest.jar
         cache_archive=carch.jar

         In this case also the carch.jar is cached.


      To reproduce the problem :

      1. Install Java Plug-in Merlin build 79

      2. Run the following applet

         http://sqesvr.sfbay.sun.com/deployment2/sridhare/ws/tests/jarcaching/BAT/classes/single/newsrc/html/another.html

      for second scenarios run ,

      http://sqesvr.sfbay.sun.com/deployment2/sridhare/ws/tests/jarcaching/BAT/classes/single/newsrc/html/archver.html

      3. Bring up the Jar cache viewer from the Plug-in Control Panel
         you can see the dummy jar file (carch.jar ) is cached.



        Attachments

          Activity

            People

            Assignee:
            djayaramsunw Devananda Jayaraman (Inactive)
            Reporter:
            senugulaorcl Sridhar Enugula (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: