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

JavaScript2Java Bridge: A char value cannot be set from JavaScript

    XMLWordPrintable

Details

    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: