|
Catch intptr_t to int conversion on 64-bit platforms.
Change the JNI generator to introduce a wrapper type
jni_int_wrapper which is used to prevent implicit
conversions which could be an intptr_t to int
conversion.
Change also includes fix (adding explicit case) for
a false positive which existings in the code base.
BUG= 354405, 346626
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268741
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+416 lines, -293 lines) |
Patch |
|
M |
base/android/jni_generator/golden_sample_for_tests_jni.h
|
View
|
1
|
5 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/jni_generator.py
|
View
|
1
2
|
5 chunks |
+23 lines, -4 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testCalledByNatives.golden
|
View
|
1
|
7 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testConstantsFromJavaP.golden
|
View
|
1
|
67 chunks |
+273 lines, -257 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testEagerCalledByNativesOption.golden
|
View
|
1
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testFromJavaP.golden
|
View
|
1
|
5 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testFromJavaPGenerics.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testInnerClassNatives.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testInnerClassNativesMultiple.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testJNIInitNativeNameOption.golden
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testJarJarRemapping.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testNatives.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testNativesLong.golden
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/jni_generator/testPureNativeMethodsOption.golden
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
A |
base/android/jni_int_wrapper.h
|
View
|
1
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/android/content_video_view.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|