Repository navigation
copied_base: Include JniAndroid in base_java - #13561
Merged
Merged
Conversation
Contributor
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Android build configuration in copied_base/base/BUILD.gn by adding the :jni_android_jni target dependency and including the JniAndroid.java source file. There are no review comments, and I have no feedback to provide.
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
hferreiro
force-pushed
the
aosp-jniandroid
branch
from
October 22, 2026 19:38
7ef787f to
e94c18d
Compare
copied_base's jni_android.cc reports uncaught Java exceptions through org.chromium.base.JniAndroid, but the Java class was never compiled into base_java. The class was missing from the AOSP apks, so any Java exception raised under JNI crashed with a ClassNotFoundException for JniAndroid instead of logging the real Java stack trace. Add JniAndroid.java and its JNI srcjar to base_java, as upstream did before JniAndroid moved to its own library. Bug: 495203133
hferreiro
force-pushed
the
aosp-jniandroid
branch
from
October 22, 2026 19:39
e94c18d to
e6f5829
Compare
andrewsavage1
approved these changes
Oct 23, 2026
andrewsavage1
enabled auto-merge (squash)
October 23, 2026 00:03
cobalt-github-releaser-bot
pushed a commit
that referenced
this pull request
Oct 23, 2026
Refer to original PR: #13561 copied_base's jni_android.cc reports uncaught Java exceptions through org.chromium.base.JniAndroid, but the Java class was never compiled into base_java. The class was missing from the AOSP apks, so any Java exception raised under JNI crashed with a ClassNotFoundException for JniAndroid instead of logging the real Java stack trace. Add JniAndroid.java and its JNI srcjar to base_java, as upstream did before JniAndroid moved to its own library. Bug: 495203133 (cherry picked from commit 90e22a2)
briantting
pushed a commit
that referenced
this pull request
Oct 27, 2026
Refer to original PR: #13561 copied_base's jni_android.cc reports uncaught Java exceptions through org.chromium.base.JniAndroid, but the Java class was never compiled into base_java. The class was missing from the AOSP apks, so any Java exception raised under JNI crashed with a ClassNotFoundException for JniAndroid instead of logging the real Java stack trace. Add JniAndroid.java and its JNI srcjar to base_java, as upstream did before JniAndroid moved to its own library. Bug: 495203133 (cherry picked from commit 90e22a2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
copied_base's jni_android.cc reports uncaught Java exceptions through
org.chromium.base.JniAndroid, but the Java class was never compiled
into base_java. The class was missing from the AOSP apks, so any Java
exception raised under JNI crashed with a ClassNotFoundException for
JniAndroid instead of logging the real Java stack trace.
Add JniAndroid.java and its JNI srcjar to base_java, as upstream did
before JniAndroid moved to its own library.
Bug: 495203133