build(deps): update jni requirement from 0.21.1 to 0.22.4 in /rslib-bridge - #663
Open
dependabot[bot] wants to merge 1 commit into
Open
build(deps): update jni requirement from 0.21.1 to 0.22.4 in /rslib-bridge#663dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
david-allison
force-pushed
the
dependabot/cargo/rslib-bridge/jni-0.22.4
branch
from
August 11, 2026 18:03
3133f3c to
26297e7
Compare
> **Environment types**: Replace JNIEnv with `EnvUnowned` in native > method signatures and use Env when calling JNI APIs > * Update native method implementations to acquire an Env reference > via `EnvUnowned::with_env[_no_catch]()` before calling JNI methods https://github.com/jni-rs/jni-rs/blob/master/crates/jni/docs/0.22-MIGRATION.md jni 0.22 split JNIEnv into: * `Env` * `EnvUnowned`: https://docs.rs/jni/latest/jni/struct.EnvUnowned.html JNI calls now happen inside `EnvUnowned::with_env()``. Panics are unchanged. JNI-level failures are now thrown as `RuntimeException` via `ThrowRuntimeExAndDefault` instead of unwinding. Assisted-by: Claude Fable 5 Signed-off-by: dependabot[bot] <support@github.com>
david-allison
force-pushed
the
dependabot/cargo/rslib-bridge/jni-0.22.4
branch
from
August 11, 2026 18:50
26297e7 to
01a8a3d
Compare
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.
Note
Assisted-by: Claude Fable 5
https://github.com/jni-rs/jni-rs/blob/master/crates/jni/docs/0.22-MIGRATION.md
jni 0.22 split JNIEnv into:
EnvEnvUnowned: https://docs.rs/jni/latest/jni/struct.EnvUnowned.htmlJNI calls now happen inside
EnvUnowned::with_env().Panics are unchanged.
JNI-level failures are now thrown
RuntimeExceptionviaThrowRuntimeExAndDefaultinstead of unwinding.Signed-off-by: dependabot[bot] support@github.com
Updates the requirements on jni to permit the latest version.
Release notes
Sourced from jni's releases.
Changelog
Sourced from jni's changelog.
... (truncated)
Commits
5ae9458Release jni 0.22.42f954cdFix copy&paste error s/JString::collection/JString::as_char_sequence/33045a1Release jni-macros 0.22.4527703eNo longer recommend passing&mut Envas the last argumentce7130bImport docs/macros/jni_mangle.md docs for jni_mangle macrod80bf23Add more-ergonomic JValueOwned accessors5ffd96abind_java_type: Support #[cfg()] guarded methods/fieldsb498e9fbind_java_type: support non_null methods/fields1f74e4bAddobjects::JCharSequencebinding25f810dRelease jni 0.22.3You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)