webrtc/sdk/android/native_api
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
..
audio_device_module Rland "Revert "Reland "Reland "Delete old Android ADM."""" 2023-06-30 13:10:12 +00:00
base Removing NetworkMonitorFactory static global. 2020-08-13 20:50:23 +00:00
codecs Format /sdk 2023-04-21 04:30:57 +00:00
jni Fix Chromium roll failures due to classpath format changes in jni_zero 2024-02-05 12:41:39 +00:00
network_monitor Move Android network monitor to separate target/directory. 2020-08-04 20:16:07 +00:00
peerconnection Add rtc:SocketFactory as member of jni OwnedFactoryAndThreads 2021-09-21 11:15:30 +00:00
stacktrace Format /sdk 2023-04-21 04:30:57 +00:00
video Format /sdk 2023-04-21 04:30:57 +00:00
DEPS Rland "Revert "Reland "Reland "Delete old Android ADM."""" 2023-06-30 13:10:12 +00:00