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

Allow passing SharedLibrary flags to ClassLoader #4804

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

XinyuKhan
Copy link

No description provided.

@aleks-f aleks-f added this to the Release 1.15.0 milestone Dec 3, 2024
@aleks-f aleks-f added the fixed label Dec 3, 2024
@aleks-f aleks-f changed the title Let user can config a ld load flags when use class loader Allow passing SharedLibrary flags to ClassLoader Dec 3, 2024
@@ -139,7 +139,7 @@ class ClassLoader
}
}

void loadLibrary(const std::string& path, const std::string& manifest)
void loadLibrary(const std::string& path, const std::string& manifest, int flags = 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should default to SharedLibrary::SHLIB_GLOBAL

@aleks-f aleks-f linked an issue Dec 3, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide way to specific SharedLibrary flag when use ClassLoader
2 participants