Use the same FindClass argument for Android and regular Java
authorMatt Corallo <git@bluematt.me>
Sun, 12 Dec 2021 18:44:34 +0000 (18:44 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 12 Dec 2021 18:47:59 +0000 (18:47 +0000)
commita0760b79ab3365b9fa668006330aaa5bb456f824
treebe01455c7f6edc85dc1349a86f620f9a196e7ca4
parent3f0f3132a37f1ff47d67a13a8d1a1fe5d169b5af
Use the same FindClass argument for Android and regular Java

Its unclear whether the android variant (no L prefix, ; suffix) was
ever tested on normal Java or not, but the existing code generates
a large volumes of warnings on OpenJDK 11 like:

WARNING in native method: JNI FindClass received a bad class descriptor "Lorg/ldk/impl/bindings$LDKEvent$PaymentReceived;".  A correct class descriptor has no leading "L" or trailing ";".  Incorrect descriptors will not be accepted in future releases.
java_strings.py