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

fix: find osgi loader #108

Merged

Conversation

ozhelezniak-talend
Copy link
Contributor

@ozhelezniak-talend ozhelezniak-talend commented Oct 15, 2024

the previous implementation didn't take into account the method BundleImpl.adapt is inside package-private package and it can't be accessible from ClassUtils.class
Also, java-util bundle ClassLoader has access to only its resources.

Example:
In the case of json-io we want to find the resources in that jar that's why we need to look in its bundle classloader instead.

Related PRs:
jdereg/json-io#298
#108

@ozhelezniak-talend ozhelezniak-talend force-pushed the ozhelezniak/fix_osgi_loader_issue branch from 4ea6f26 to 55a5cde Compare October 15, 2024 17:05
@ozhelezniak-talend
Copy link
Contributor Author

Hello @jdereg
Could you review this PR?
(and the one that is linked)

@jdereg jdereg merged commit 8712818 into jdereg:master Oct 17, 2024
1 check failed
@ozhelezniak-talend ozhelezniak-talend deleted the ozhelezniak/fix_osgi_loader_issue branch November 5, 2024 16:34
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.

2 participants