commit | 914bfe613854337d097db9402765fd14e51ddcd5 | [log] [tgz] |
---|---|---|
author | Aiden Benner <abenner@google.com> | Mon Dec 03 22:17:49 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 03 22:17:49 2018 |
tree | efeaecb0409fc897e610b2d62846b9058320ccba | |
parent | f1b46d7a7279787041b7371e5b5acb4a60f5db1e [diff] |
JNI: Add @JCaller annotation @JCaller is used on a parameter in a static native method to indicate that a native binding should be generated as if that parameter was calling a non-static function with the same signature. This allows for easy conversion from non-static methods to static methods without also modifying native method signatures. This change is motivated by an impending refactor to the new JNI interface (which will use all static methods). Bug:898261 Change-Id: I37b2bb5ecf2da9ef33a34a61a35a43b8e2cdb838 Reviewed-on: https://chromium-review.googlesource.com/c/1358003 Reviewed-by: Eric Stevenson <estevenson@chromium.org> Reviewed-by: agrieve <agrieve@chromium.org> Commit-Queue: Aiden Benner <abenner@google.com>
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .