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

Updated to jSnapLoader 1.0.0-stable #3

Merged

Conversation

pavly-gerges
Copy link
Contributor

This PR updates jSnapLoader to 1.0.0-stable. The stable version ships some optimization changes to the core API and to the LibraryInfo component which entail:

  • Removing the nullary arguments to the LibraryInfo constructor by wrapping String Paths in DirectoryPath structures.
  • Better handling of file locator routines (classpath or external compression).
  • Stepwise validation strategy for stream providers using a Validation API.
  • For the external compression routines file locators: dispatch close() on the ZipFile resources itself (which closes all the associated enteries' streams) and not a single file entry of it.

I've tested the example locally multiple times; with normal execution flow, and with exceptional flows. Hopefully, there won't be any regressions or breaking changes so far on other systems.

Find more about these changes in the stable version release notes.

Notice:
The first parameter in the LibraryInfo constructor method in this example is a placeholder path, and is never used unless the selected NativeDynamicLibrary object has a nullary library path (actually this placeholder will have contemplated features in the upcoming releases).

@stephengold stephengold merged commit d583d93 into stephengold:master Aug 8, 2024
5 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