commit | f5500c51183843aaf4c60a6f2e614256226a0bbb | [log] [tgz] |
---|---|---|
author | Aiden Benner <abenner@google.com> | Tue Dec 04 19:42:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 04 19:42:23 2018 |
tree | 645ba6b26cffaea042fde6d4aacd93b092220be2 | |
parent | 19488e50b13612b6b7b59832e002c4d155b8fd43 [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). (cherry picked from commit 914bfe613854337d097db9402765fd14e51ddcd5) 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> Reviewed-on: https://chromium-review.googlesource.com/c/1361642 Cr-Commit-Position: refs/heads/master@{#613652}
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 .