Currently we have two implementations for converting JavaScript values to Java objects. (1) is in JNIUtilityPrivate.cpp and is used or converting argument; (2) is in BridgeUtils.cpp and is used for most other conversions.
This duplication is wasteful and makes merging with upstream harder. Worse, it may hide bugs and make fixing them harder. Specifically, while trying to merge (1) and(2) I have found a coupl of serious bugs, primarily in (1).
This duplication is wasteful and makes merging with upstream harder. Worse, it may hide bugs and make fixing them harder. Specifically, while trying to merge (1) and(2) I have found a coupl of serious bugs, primarily in (1).