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

Webview/JS returned array of Java strings is not converted to JS strings

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Windows 8 x64
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b109)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b51, mixed mode)

    • Subcomponent:
      web

      Description

      When I call to

      String[] javaBean.method(){
       ...
      }

      I get

      [[object JavaRuntimeObject],[object JavaRuntimeObject],[object JavaRuntimeObject]]

      And I expect to get

      [s1, s2, s3]

      This was the exact behaviour in JDK7.

        Attachments

          Activity

            People

            • Assignee:
              loneid Leonid Popov (Inactive)
              Reporter:
              achaschevjfx Andrey Chaschev (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: