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

JavaScript2Java Bridge: A char value cannot be set from JavaScript

XMLWordPrintable

    • web

        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.

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

                Created:
                Updated:
                Resolved:
                Imported: