New issue
Advanced search Search tips

Issue 704687 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Implement String16 -> Java String type map in mojom

Project Member Reported by muyuanli@chromium.org, Mar 23 2017

Issue description

A large number of Strings in CrOS are UTF-16 encoded string16
representation. 

There is a String16 struct in mojom, but currently it generates
short[] in Java, which is not ideal. It could better if such
type could be directly mapped to java.lang.String since Java
strings are by default multi-bytes.
 
Cc: roc...@chromium.org
Owner: hashimoto@chromium.org
Keep in mind that a precursor to doing this at all would be to build general type-mapping support for Java bindings, which is itself a pretty large task.
Components: Internals>Mojo>Bindings
Cc: -roc...@chromium.org rockot@google.com

Sign in to add a comment