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

Improve LibClassLoader to recursively add jars to classpath #2311

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

arunans23
Copy link
Member

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

$subject

This is to improve the deployment of connectors which have libs inside them. Connectors like CSV module, have other libs within the zip (inside "lib" directory). When Utils.getClassLoader is called, the libs are recursively added to the classpath. But since we need to reuse the LibClassLoader when adding multiple connector dependencies to the CApp, an improvement has been made to LibClassLoader to resemble https://github.com/wso2/wso2-axis2/blob/v1.6.1-wso2v102/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java#L341

@arunans23 arunans23 requested a review from chanikag as a code owner January 28, 2025 09:03
GDLMadushanka
GDLMadushanka previously approved these changes Jan 28, 2025
@arunans23 arunans23 merged commit cf2c828 into wso2:master Jan 28, 2025
1 of 2 checks passed
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