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

Fixes #326 Add option to disable fallback to PureJavaSnappy + doc #333

Conversation

lehnerj
Copy link
Contributor

@lehnerj lehnerj commented Jul 5, 2022

Adds a simple if condition to disable the fallback to PureJavaSnappy and re-throws the exception if the system property org.xerial.snappy.purejava.fallback is set to false (default value is true to ensure backwards compatibility).

@lehnerj
Copy link
Contributor Author

lehnerj commented Jul 5, 2022

@xerial Simplified solution of #327 (no new dependency in build.sbt, no JUnit test, no access modifier change SnappyLoader#loadNativeLibrary, just a simple if + doc).

@lehnerj
Copy link
Contributor Author

lehnerj commented Aug 13, 2022

@xerial Any chance to get this merged :) ?

@lehnerj
Copy link
Contributor Author

lehnerj commented Sep 6, 2022

@xerial What are your thoughts on this PR?

@xerial
Copy link
Owner

xerial commented Sep 17, 2022

As discussed in another ticket, I think it should be better to remove the pure-java option entirely. Let me take a look later.

@xerial
Copy link
Owner

xerial commented Jan 28, 2023

Removing pure-java snappy support in #381

@xerial xerial closed this Jan 28, 2023
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