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

REGRESSION: zero-width,height applet is not loaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.4.2
    • deploy
    • x86
    • linux

      Name: gm110360 Date: 01/16/2004


      FULL PRODUCT VERSION :
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      RedHat 9.0, kernel 2.4.20-8

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Netscape 7.1

      A DESCRIPTION OF THE PROBLEM :
      My HTML page contains an APPLET tag like this:

      <APPLET code="..." archive="..." codebase=".." name="..." height=0 width=0></applet>

      The applet is not loaded at all and any Java Script calls to the applet's methods fail. The applet gets loaded if I change the size of the applet to e.g. width=100 height=1.

      This works with 1.4.2-b28


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      - Create simple applet (e.g. with only an init() method)
      - Place it on the HTML page with height=0 width=0
      - Load it in netscape 7.1 on LInux and observe no applet activity at all

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      applet should get loaded an initailized when the page is loaded.
      ACTUAL -
      applet is not loaded. Java Script calls fail.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      no error message from the runtime environment

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      change APPLET tag to height=1 width=100.

      Problem: code (APPLET tag) is generated at runtime by a Third Party application

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 234108)
      ======================================================================
      ###@###.### 2004-01-17

            xlu Xiaobin Lu (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: