Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Improve JNI safety #600

Merged
merged 1 commit into from
Jun 27, 2024
Merged

chore: Improve JNI safety #600

merged 1 commit into from
Jun 27, 2024

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Jun 27, 2024

Which issue does this PR close?

Related to #597

Rationale for this change

What changes are included in this PR?

I noticed in the documentation for JMethodID that we should maintain references to the classes otherwise they could get garbage collected, and I wonder if this may be the root cause of #597

How are these changes tested?

@andygrove andygrove mentioned this pull request Jun 27, 2024
@andygrove andygrove requested a review from viirya June 27, 2024 17:42
@andygrove andygrove merged commit a1641ab into apache:main Jun 27, 2024
68 checks passed
@andygrove andygrove deleted the jni-safety branch June 27, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants