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

Issue 11293206: Android: correctly generates inner class from import clause. (Closed)

Created:
8 years, 1 month ago by bulach
Modified:
8 years, 1 month ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Android: correctly generates inner class from import clause. After r166482, it started deriving the JNI parameters from the "import" clause. However, for "import foo.Outer.Inner", it'd generate "Lfoo/Outer/Inner" rather than "Lfoo/Outer$Inner". BUG= TEST=build/android/jni_generator/jni_generator_tests.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167384

Patch Set 1 #

Patch Set 2 : Patch #

Patch Set 3 : Prevents import pkg.Outer.Inner; #

Total comments: 4

Patch Set 4 : Joth's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M base/android/jni_generator/jni_generator.py View 1 2 3 1 chunk +25 lines, -1 line 0 comments Download
M base/android/jni_generator/jni_generator_tests.py View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
bulach
ptal
8 years, 1 month ago (2012-11-09 20:21:01 UTC) #1
digit1
lgtm :)
8 years, 1 month ago (2012-11-12 09:18:16 UTC) #2
Miguel Garcia
lgtm Great catch!
8 years, 1 month ago (2012-11-12 09:23:20 UTC) #3
bulach
new patchet uploaded: it now forbids import pkg.Outer.Inner and using Inner directly in JNI. instead, ...
8 years, 1 month ago (2012-11-12 12:08:05 UTC) #4
joth
lgtm http://codereview.chromium.org/11293206/diff/1003/base/android/jni_generator/jni_generator.py File base/android/jni_generator/jni_generator.py (right): http://codereview.chromium.org/11293206/diff/1003/base/android/jni_generator/jni_generator.py#newcode178 base/android/jni_generator/jni_generator.py:178: # Is it Bar from import zoo.foo.Bar ? ...
8 years, 1 month ago (2012-11-12 21:22:07 UTC) #5
bulach
thanks joth! I'll put through the CQ and follow up should anyone else have further ...
8 years, 1 month ago (2012-11-12 22:10:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11293206/6
8 years, 1 month ago (2012-11-12 22:10:37 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 1 month ago (2012-11-13 03:55:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11293206/6
8 years, 1 month ago (2012-11-13 14:30:38 UTC) #9
commit-bot: I haz the power
8 years, 1 month ago (2012-11-13 14:35:03 UTC) #10
Change committed as 167384

Powered by Google App Engine
This is Rietveld 408576698