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

liveconnect: Javascript -> Java can't pass array object in IE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.1, 1.4.2
    • deploy
    • x86
    • windows_98, windows_nt

      In IE browser, if you want to pass an array object to Java from Javascript, the following exception throw:

      java.lang.Exception: printValArg2{0} :no such method exists at
      sun.plugin.com.JavaClass.getMethod1(Unknown Source) at
      sun.plugin.com.JavaClass.getDispatcher(Unknown Source) at
      sun.plugin.com.DispatchImpl.invoke(Unknown Source) at
      sun.plugin.com.DispatchClient.nativeInvoke(Native Method) at
      sun.plugin.com.DispatchClient.invoke(Unknown Source) at
      sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source) at
      sun.plugin.javascript.ocx.JSObject.call(Unknown Source) at
      j2js2j.start(j2js2j.java:37) at
      sun.applet.AppletPanel.run(Unknown Source) at
      java.lang.Thread.run(Unknown Source)
      netscape.javascript.JSException

      The testcase is attached. It works with Netscape 6 browser.

      Dennis Gu

            djayaramsunw Devananda Jayaraman (Inactive)
            dgu Dennis Gu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: