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

Exception while LiveConnect Java to JavaScript test

XMLWordPrintable

    • x86
    • solaris

      Bug Description:
      ----------------
      Java Plugin backward compatibility problem while using LiveConnect Java to JavaScript.It works fine in jdk1.5.0 b32d.

      JDK-INFO:
      ---------
      java version "1.4.2_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_04-b02, mixed mode)

      System-Info:
      ------------
      Sun Java Desktop System, Update 1 - build 04
      Sun Java Desktop System 2003
      VERSION = 1.0
      RELEASE = 1.0

      Build Location:
      ---------------
      /net/koori.sfbay/p/v10/jdk/1.4.2_04/fcs/b02

      QuickSilver Build Location :
      ----------------------------
      http://iso.sfbay/imagelist.php?cwd=/Quicksilver/jdsent04

      Steps to reproduce:
      -------------------
      1.Install j2re1.4.2_04 b02 in QuickSilver b04
      2.untar the ExampleTest.tar file attached in bugtraq in a folder and invoke the *.html file

      Enable JavaConsole before starting the applet.

      Exception thrown in console:
      ----------------------------

      Current thread:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin: No AThread

      OJIPlugin acq Spontaneous pipe=10
      Trying to enter spont monitor: 0
       OJIPlugin release for:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin releasePipe - exiting spont monitor
      Current thread:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin: No AThread

      OJIPlugin acq Spontaneous pipe=10
      Trying to enter spont monitor: 0
       OJIPlugin release for:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin releasePipe - exiting spont monitor

      ******** Testing getSlot() METHOD ********

      Current thread:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin: No AThread

      OJIPlugin acq Spontaneous pipe=10
      Trying to enter spont monitor: 0
       OJIPlugin release for:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin releasePipe - exiting spont monitor
      Current thread:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin: No AThread

      OJIPlugin acq Spontaneous pipe=10
      Trying to enter spont monitor: 0
       OJIPlugin release for:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin releasePipe - exiting spont monitor
      [object HTMLCollection]
      Current thread:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin: No AThread

      OJIPlugin acq Spontaneous pipe=10
      Trying to enter spont monitor: 0
       OJIPlugin release for:Thread[thread applet-JavaToJS_getSlot_init.class,4,http://client20.india.sun.com:8080/~sc144430/-threadGroup]
      OJIPlugin releasePipe - exiting spont monitor
       !!!!!! Exception caught !!!!!! java.lang.ClassCastException
      java.lang.ClassCastException
      at JavaToJS_getSlot_init.getSlotTest(JavaToJS_getSlot_init.java:46)
      at JavaToJS_getSlot_init.init(JavaToJS_getSlot_init.java:36)
      at sun.applet.AppletPanel.run(AppletPanel.java:353)
      at java.lang.Thread.run(Thread.java:534)
      STATUS: getSlot FAILED



      ###@###.### 2004-02-05

            hdongorcl Hao Dong (Inactive)
            schandarsunw Suresh Chandar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: