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

Make RuntimeLoader fall back to temp directory #5851

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcm001
Copy link
Contributor

@mcm001 mcm001 commented Oct 31, 2023

Closes #5846 (native library extraction failing if ~ is read-only)

Still up for debate is how CombinedRuntimeLoader should handle this. I'm inclined to just warn users and make them deal with trying again after calling setExtractionDirectory?

@calcmogul calcmogul requested a review from ThadHouse December 2, 2023 05:10
@calcmogul calcmogul added the component: wpiutil WPI utility library label Dec 2, 2023
@spacey-sooty
Copy link
Contributor

This should be closed now RuntimeLoader has been almost entirely removed correct?

@mcm001
Copy link
Contributor Author

mcm001 commented May 26, 2024

Is the underlying issue (native libraries can't be loaded in read only mode) still present? If yes, a similar PR but rebased on master would still be valuable I think.

@mcm001
Copy link
Contributor Author

mcm001 commented Oct 15, 2024

Is there any interest in pushing this forwards? I still think wpilib supporting loading JNI libraries on read-only filesystems is a valuable feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: wpiutil WPI utility library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fallback to extracting native libraries to system temp directory
3 participants