DescriptionJNI: allow either JavaRef or bare objects in Java calls.
Introduce a temporary type JavaRefOrBare which can be constructed from
either a JavaRef or a bare object, and use it as the parameter type for
Java function stubs generated by the JNI generator.
This allows Java functions to be called using a mixture of both types,
so we can incrementally move to using JavaRef only.
Also replace NULL with nullptr in scoped_java_ref.{h,cc} as the
inconsistency looked weird.
BUG=506850
Committed: https://crrev.com/8a372f72544bab76e3a745170e9497f54e211fe5
Cr-Commit-Position: refs/heads/master@{#410377}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove unreachable line #Messages
Total messages: 17 (9 generated)
|