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

Issue 1869083002: 🎽 Fix instrumentation test proguard parser when gmscore has annotations (Closed)

Created:
4 years, 8 months ago by agrieve
Modified:
4 years, 8 months ago
Reviewers:
jbudorick, dgn
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org, dgn
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix instrumentation test proguard parser when gmscore has annotations Most output with annotations look like: Class member attributes (count = 2): - Deprecated attribute - Runtime visible annotations attribute: - Annotation [Ljava/lang/Deprecated;]: - Method: <init>(Ljava/security/cert/X509Certificate;)V But it was choking when it hit: Class member attributes (count = 2): - Runtime invisible annotations attribute: - Annotation [Landroid/support/annotation/Nullable;]: - Signature attribute: - Utf8 [()Ljava/util/List<Ljava/lang/String;>;] The code was treating - Utf8 as an annotation-related line. BUG=525035 Committed: https://crrev.com/44a0b274c777c0a6aee6f5ba722c435e71d54273 Cr-Commit-Position: refs/heads/master@{#386706}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M build/android/pylib/utils/proguard.py View 1 chunk +3 lines, -0 lines 3 comments Download

Messages

Total messages: 17 (7 generated)
agrieve
On 2016/04/07 18:08:06, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org Without this, setting ...
4 years, 8 months ago (2016-04-07 18:09:21 UTC) #3
jbudorick
https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py File build/android/pylib/utils/proguard.py (right): https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py#newcode288 build/android/pylib/utils/proguard.py:288: state.InitMethod(None) What does this line that gets here contain? ...
4 years, 8 months ago (2016-04-08 00:59:09 UTC) #4
agrieve
On 2016/04/08 00:59:09, jbudorick (ooo until apr 18) wrote: > https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py > File build/android/pylib/utils/proguard.py (right): ...
4 years, 8 months ago (2016-04-08 15:01:24 UTC) #7
dgn
https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py File build/android/pylib/utils/proguard.py (right): https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py#newcode288 build/android/pylib/utils/proguard.py:288: state.InitMethod(None) So that clears the annotation stack when we ...
4 years, 8 months ago (2016-04-08 16:54:52 UTC) #8
agrieve
https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py File build/android/pylib/utils/proguard.py (right): https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py#newcode288 build/android/pylib/utils/proguard.py:288: state.InitMethod(None) On 2016/04/08 16:54:52, dgn wrote: > So that ...
4 years, 8 months ago (2016-04-08 17:35:36 UTC) #9
agrieve
On 2016/04/08 17:35:36, agrieve wrote: > https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py > File build/android/pylib/utils/proguard.py (right): > > https://codereview.chromium.org/1869083002/diff/1/build/android/pylib/utils/proguard.py#newcode288 > ...
4 years, 8 months ago (2016-04-11 19:47:12 UTC) #10
dgn
Thanks for the explanation, lgtm
4 years, 8 months ago (2016-04-12 14:36:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1869083002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1869083002/1
4 years, 8 months ago (2016-04-12 15:01:56 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-12 16:21:33 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 16:23:02 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/44a0b274c777c0a6aee6f5ba722c435e71d54273
Cr-Commit-Position: refs/heads/master@{#386706}

Powered by Google App Engine
This is Rietveld 408576698