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

JavaScript2Java Bridge: A char value cannot be set from JavaScript

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6, 8u40, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Subcomponent:
      web

      Backports

        Description

        Currently, a char value cannot be set to a char field of a bound object from JavaScript. As I suspect, the reason here is that JS has no idea of a character, and operates even the single characters as strings.
        This leads to some level of confusion - when a single-character string is assigned to a character field of an object is JavaScript, a zero (0) is placed in that field.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                arajkumar Arunprasad Rajkumar
                Reporter:
                ilatyshe Irina Grineva (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: