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

Java to Javascript return result type changed in JRE 1.5.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 5.0
    • deploy
    • None
    • x86
    • windows_xp

      When calling Java from Javascript, the result type returned from Java is a Javascript Object with the 1.5.0 runtime. With 1.4.x the result type is a simple type. The causes some Javascript code to break.

      For example, the Javascript split function expects a string, not an object. If the returned value from a Java call were passed to the split function, it would result in an undefined value from the split call.
      ###@###.### 2004-11-12 00:52:53 GMT

            ccheung Calvin Cheung
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: