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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 5.0
    • Component/s: 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

            Assignee:
            Calvin Cheung (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: