Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Issue 2386713002: Ignore return type annotations in @CalledByNative methods. (Closed)

Created:
4 years, 2 months ago by estevenson
Modified:
4 years, 2 months ago
Reviewers:
agrieve
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore return type annotations in @CalledByNative methods. Annotations do not affect generated JNI signatures so they should be ignored. This CL updates the regex used to ignore return type annotations (annotated method parameters are already ignored). BUG=650823 Committed: https://crrev.com/799c1feb38d8fb1052bfdaaac6eaf1093f89bb2b Cr-Commit-Position: refs/heads/master@{#422215}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make regex normal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M base/android/jni_generator/jni_generator.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M base/android/jni_generator/jni_generator_tests.py View 2 chunks +15 lines, -0 lines 0 comments Download
M base/android/jni_generator/testCalledByNatives.golden View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
estevenson
ptal Andrew!
4 years, 2 months ago (2016-09-30 19:50:35 UTC) #2
agrieve
lgtm https://codereview.chromium.org/2386713002/diff/1/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): https://codereview.chromium.org/2386713002/diff/1/base/android/jni_generator/jni_generator.py#newcode521 base/android/jni_generator/jni_generator.py:521: '(:?\s*@\w+|)' # Ignore annotations in return types. nit: ...
4 years, 2 months ago (2016-09-30 20:07:17 UTC) #3
estevenson
https://codereview.chromium.org/2386713002/diff/1/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): https://codereview.chromium.org/2386713002/diff/1/base/android/jni_generator/jni_generator.py#newcode521 base/android/jni_generator/jni_generator.py:521: '(:?\s*@\w+|)' # Ignore annotations in return types. On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 20:14:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2386713002/20001
4 years, 2 months ago (2016-09-30 20:15:31 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-30 20:53:14 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/799c1feb38d8fb1052bfdaaac6eaf1093f89bb2b Cr-Commit-Position: refs/heads/master@{#422215}
4 years, 2 months ago (2016-09-30 20:56:36 UTC) #10
Ted C
4 years, 2 months ago (2016-09-30 20:59:33 UTC) #11
Message was sent while issue was closed.
On 2016/09/30 20:56:36, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/799c1feb38d8fb1052bfdaaac6eaf1093f89bb2b
> Cr-Commit-Position: refs/heads/master@{#422215}

Woot!

Powered by Google App Engine
This is Rietveld 408576698