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

java plugin caches multiple the same file

XMLWordPrintable

    • 1.4
    • x86
    • windows_2000
    • Verified



      Name: gm110360 Date: 01/31/2002


      FULL PRODUCT VERSION :
      java version "1.4.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
      Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)


      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows 2000 [Version 5.00.2195]



      EXTRA RELEVANT SYSTEM CONFIGURATION :
      MS IE 5.50

      A DESCRIPTION OF THE PROBLEM :
      Java plugin cached twice the same signed jar file - same
      url, same version, same size but each applet has own frame.
      These applets runs in the two separeted thread groups.
        User must grant twice permission for the same object.

      BUT:
      When reloaded, everything is ok - ones grant permissions,
      one thread group.

      JRE Plug-in 1.3.1_01 had the same problem, but 1.3.1_02
      was/is ok.



      REGRESSION. Last worked in version 1.3

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. clear java plug-in cache
      2. start MS IE
      3. url:
      https://klient1.ebanka.cz/ebts/version_02/eng/banka4.html

      You will twice grant permission for the same certificate.
      You will have two the same records and jarfiles in the cache
      after download.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      I think, when the cache_option is plugin, cache_archive and
      cache_version are the same, signs, url, size are the same,
      there is no reason to download the same jar file once again.

      When jarfile presents in the plug-in cache, everything seems
      correct.


      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------


      <OBJECT ID="PSWDigSignApplet"
      CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width=339 height=80
      align="middle"
      ARCHIVE="https://klient1.ebanka.cz/ebts/version_02/DigSignature.jar"
      codebase="HTTP://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
      <XMP>
      <APPLET CODE="DSPswC" NAME="PSWDigSignApplet" CODEBASE="." width=339 height=80
      ALIGN="middle">
      </XMP>
      <PARAM NAME="archive"
      VALUE="https://klient1.ebanka.cz/ebts/version_02/DigSignature.jar">
      <PARAM NAME="name" VALUE="PSWDigSignApplet" >
      <PARAM NAME="java_CODE" VALUE="DSPswC" >
      <PARAM NAME="java_CODEBASE" VALUE="." >
      <PARAM NAME="scriptable" VALUE="true">
      <PARAM NAME="cache_option" VALUE="Plugin" >
      <PARAM NAME="cache_archive" VALUE="DigSignature.jar" >
      <PARAM NAME="cache_version" VALUE="0.9.7.0" >
      <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3.0">
      </APPLET>
      </OBJECT>

      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      We can recommand to download plug-in 1.3.1_02, but users can
      download newer one.
      (Review ID: 138939)
      ======================================================================

            dgu Dennis Gu (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: