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

Issue 872843004: Update JNI generator for javap version 1.8. (Closed)

Created:
5 years, 10 months ago by Fredrik Öhrn
Modified:
5 years, 10 months ago
Reviewers:
nyquist, bulach
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update JNI generator for javap version 1.8. In javap 1.7 the signature line was prefixed with 'Signature: ', which in javap 1.8 has changed to 'descriptor: '. This CL adds support for the new format, and adds a test to ensure that all parsers still work correctly. Committed: https://crrev.com/f0286503313bc0214bd275cab9f3020511422415 Cr-Commit-Position: refs/heads/master@{#315329}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Shorten line in test case #

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

Messages

Total messages: 15 (4 generated)
Fredrik Öhrn
Tested with OpenJDK 1.8.0. Reviewers: nyquist (owner) and bulach (updated this code for javap 1.7)
5 years, 10 months ago (2015-02-02 09:21:43 UTC) #2
nyquist
lgtm, but could you update the CL description to describe what the change of the ...
5 years, 10 months ago (2015-02-03 18:49:11 UTC) #3
Fredrik Öhrn
On 2015/02/03 18:49:11, nyquist wrote: > lgtm, but could you update the CL description to ...
5 years, 10 months ago (2015-02-06 12:39:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/872843004/1
5 years, 10 months ago (2015-02-06 12:40:22 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/40973)
5 years, 10 months ago (2015-02-06 12:45:40 UTC) #8
Fredrik Öhrn
On 2015/02/06 12:45:40, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-06 13:25:11 UTC) #9
nyquist
https://codereview.chromium.org/872843004/diff/1/base/android/jni_generator/jni_generator_tests.py File base/android/jni_generator/jni_generator_tests.py (right): https://codereview.chromium.org/872843004/diff/1/base/android/jni_generator/jni_generator_tests.py#newcode741 base/android/jni_generator/jni_generator_tests.py:741: public class java.util.HashSet<E> extends java.util.AbstractSet<E> implements java.util.Set<E>, java.lang.Cloneable, java.io.Serializable ...
5 years, 10 months ago (2015-02-06 17:46:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/872843004/20001
5 years, 10 months ago (2015-02-09 16:22:13 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-09 17:24:15 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f0286503313bc0214bd275cab9f3020511422415 Cr-Commit-Position: refs/heads/master@{#315329}
5 years, 10 months ago (2015-02-09 17:25:06 UTC) #14
Fredrik Öhrn
5 years, 10 months ago (2015-02-09 17:30:24 UTC) #15
Message was sent while issue was closed.
On 2015/02/06 17:46:35, nyquist wrote:
> How about just using:
> public class java.util.HashSet {
> 

That got it past the commit bot. Though, I think it's unfortunate that such
rigid rules get in the way of authentic test cases.

Powered by Google App Engine
This is Rietveld 408576698