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

Applet stopped communicating JS to webpages in 7u13

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • None
    • 7u13
    • deploy
    • windows_7

      FULL PRODUCT VERSION :
      Java Plug-in 10.13.2.20
      Using JRE version 1.7.0_13-b20 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      Win7x64, Win7x86

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      This issue doesn't occur in Internet Explorer 9 and Opera 12.14.
      It's happening in Firefox 17 and 18 and Chrome 24.

      A DESCRIPTION OF THE PROBLEM :
      Hi we use an applet withing GWT application. We put the applet using <applet>.
      We use both way java script communication to and from the applet.

      When users upgraded java 7 from update 11 (where everything works) to update 13, the applet does not have the ability to communicate with GWT using JavaScript call anymore.

      The GWT page can still send messages to the applet using java script.

      REGRESSION. Last worked in version 7

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Have an applet communication through JS to GWT and print out a message " Hello world " .

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      an applet should be able to pass a message to GWT
      ACTUAL -
      An exception is thrown

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      <java.lang.reflect.InvocationTargetException>
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at cz.zoom.player.impl.AppletContext.msgToScript(AppletContext.java:159)

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      there is no simple way of reproducing GWT :(
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      let us know if there is any

      SUPPORT :
      YES

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: