Skip to content

(0.48) Attempt to reload the library in case of UnsatisfiedLinkError #20295

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

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

JasonFengJ9
Copy link
Member

Attempt to reload the library in case of UnsatisfiedLinkError

When an UnsatisfiedLinkError is thrown because the library was already loaded in another classloader, run gc() to unload the unreachable classloaders, and reload the library again.

Cherry-pick

Signed-off-by: Jason Feng [email protected]

When an UnsatisfiedLinkError is thrown because the library was already
loaded in another classloader, run gc() to unload the unreachable
classloaders, and reload the library again.

Signed-off-by: Jason Feng <[email protected]>
@pshipton pshipton merged commit 8899b66 into eclipse-openj9:v0.48.0-release Oct 4, 2024
2 checks passed
@JasonFengJ9 JasonFengJ9 deleted the nlcerror-0.48 branch October 4, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants