Upgrade jni to 0.21.1 (#32216)

JNI methods in `jniapi` now have explicit lifetime
annotations to adapt it to the new `jni` version.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Delan Azabani 2024-05-20 21:46:09 +08:00 committed by GitHub
parent 53c0726ef4
commit 8d2d955bbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 247 additions and 213 deletions

18
Cargo.lock generated
View file

@ -101,7 +101,7 @@ dependencies = [
"bitflags 2.5.0",
"cc",
"cesu8",
"jni 0.21.1",
"jni",
"jni-sys",
"libc",
"log",
@ -3119,20 +3119,6 @@ dependencies = [
"libc",
]
[[package]]
name = "jni"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24967112a1e4301ca5342ea339763613a37592b8a6ce6cf2e4494537c7a42faf"
dependencies = [
"cesu8",
"combine",
"jni-sys",
"log",
"thiserror",
"walkdir",
]
[[package]]
name = "jni"
version = "0.21.1"
@ -5727,7 +5713,7 @@ dependencies = [
"getopts",
"gl_generator",
"ipc-channel",
"jni 0.18.0",
"jni",
"libc",
"libloading 0.8.3",
"libservo",