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

Progress bar hang when multiple jar files in are downloaded

XMLWordPrintable

    • beta3
    • generic
    • generic
    • Verified

      When an applet class files are distributed in multiple jar files specified in the applet html's archive , cache_archive or preload options.The progress bar pops up and hangs .Doesn't load the applet.This behaviour is seen only if the
      multiple jar files needed to run the applet are specified in any of the archive,cache_archive, preload parameters.I was able to reprodcue this probelm on Windows 2000, NT and solaris.

      In the test case A.class has run method and is in A.jar and calling B.class in B.jar .

      Scenarios 1 :

      If a.jar and b.jar are in archive or cache_archive or preload then progress bar hangs .

      Scenarios 2:
      If a.jar is in archive and b.jar is in cache_archive or preload the applet runs fine.Thus limiting only one jar file per tag.

      The above scenarios are tested with the same test applet which has a run method.Looks like it happend only when running thread as i tried simple
      classes was not able to reproduce.suspect some threading related problem.

      Test Cases

      Jar files specified in archive tag.
       http://sqesvr.eng.sun.com/deployment2/sridhare/ws/tests/jarcaching/QL/jarupdate/cacheversion/multiple/TestMJ_arch.html

      Steps to reproduce :

      1. Install Java Plug-in Merlin build 77

      2. Clear Cache from Java plug-in Control Panel.

      3. Enable Jar Caching

            mafishersunw Margarita Fisher (Inactive)
            senugulaorcl Sridhar Enugula (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: