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

Springboot native lib loading: fallback to javaClass classloader #328

Merged

Conversation

DariusIMP
Copy link
Member

@DariusIMP DariusIMP commented Dec 18, 2024

Issue: when exporting a JAR of a springboot project using Zenoh-Kotlin as a dependency, the native library failed to be loaded.

Fix: fallback to javaClass classloader for loading native lib in case of system class loader failure.

Tested: tested manually on a springboot project and on a non springboot project.

Related to eclipse-zenoh/zenoh-java#153

Copy link

PR missing one of the required labels: {'breaking-change', 'new feature', 'bug', 'enhancement', 'internal', 'dependencies', 'documentation'}

@DariusIMP DariusIMP added bug Something isn't working enhancement New feature or request release Part of the next release labels Dec 18, 2024
@DariusIMP DariusIMP requested a review from milyin December 19, 2024 16:59
@milyin milyin merged commit 91eb6be into eclipse-zenoh:main Dec 20, 2024
10 of 11 checks passed
@DariusIMP DariusIMP deleted the fix/springboot_lib_loading branch December 20, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request release Part of the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants