Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8154886 | 8u102 | Murali Billa | P4 | Resolved | Fixed | b04 |
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.
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
- backported by
-
JDK-8154886 JavaScript2Java Bridge: A char value cannot be set from JavaScript
-
- Resolved
-
- relates to
-
JDK-8158926 Char value is set as integer, not as character
-
- Resolved
-