webrtc/sdk/android/native_api/jni
Byoungchan Lee ff616269f8 Fix Chromium roll failures due to classpath format changes in jni_zero
This commit addresses an issue resulting from a change [1] in the
jni_zero project, where the format of classpath entries changed
(from using slashes 'org/webrtc/PeerConnectionFactory'
to dots 'org.webrtc.PeerConnectionFactory'). These changes led to
failures in the Chromium rolls in WebRTC, as the Class loader in JNI
was not designed to handle class names with dots.

This CL fixes this issue by changing webrtc::GetClass to convert class
paths to what JNI expects.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5234469

Bug: chromium:1377351
Change-Id: I2f243bb4ed04136f86510fcd5472e9bfc2d4ba85
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/337900
Reviewed-by: Jeremy Leconte <jleconte@google.com>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#41666}
2024-02-05 12:41:39 +00:00
..
application_context_provider.cc Rland "Revert "Reland "Reland "Delete old Android ADM."""" 2023-06-30 13:10:12 +00:00
application_context_provider.h Rland "Revert "Reland "Reland "Delete old Android ADM."""" 2023-06-30 13:10:12 +00:00
class_loader.cc Fix Chromium roll failures due to classpath format changes in jni_zero 2024-02-05 12:41:39 +00:00
class_loader.h Create an experimental Android NDK. 2018-01-30 09:33:42 +00:00
java_types.cc Roll chromium_revision 10080947c0..6b95b8aa08 (1174188:1175249) 2023-08-07 13:57:06 +00:00
java_types.h Add support for JavaToNativeFloatArray 2023-03-29 11:03:30 +00:00
jni_int_wrapper.h Include jni.h in jni_int_wrapper.h. 2022-10-11 12:30:32 +00:00
jvm.cc Create an experimental Android NDK. 2018-01-30 09:33:42 +00:00
jvm.h Create an experimental Android NDK. 2018-01-30 09:33:42 +00:00
scoped_java_ref.h Reland "Remove RTC_DISALLOW_COPY_AND_ASSIGN usages completely" 2022-01-27 12:55:44 +00:00