Load EnhancementProviders upon VariableDS instantiation by lesserwhirls · Pull Request #1478 · Unidata/netcdf-java
Navigation Menu
{{ message }}
Unidata / netcdf-java Public
- Notifications You must be signed in to change notification settings
- Fork 82
Merged
lesserwhirls merged 1 commit intoUnidata:maint-5.xfrom
Aug 29, 2025Merged
Load EnhancementProviders upon VariableDS instantiation#1478
lesserwhirls merged 1 commit intoUnidata:maint-5.xfrom
Load EnhancementProviders upon VariableDS instantiation#1478
lesserwhirls merged 1 commit intoUnidata:maint-5.xfrom
Conversation
Copy link Copy Markdown
Member
Description of Changes
ServiceLoader instances are not thread-safe, so rather than share a static instance, load the provides once upon instantiation of the VariableDS class. Fixes #1477
PR Checklist
- Link to any issues that the PR addresses
- Add labels
- Open as a draft PR
until ready for review - Make sure GitHub tests pass
- Mark PR as "Ready for Review"
ServiceLoader instances are not thread-safe, so rather than share a static instance, load the provides once upon instantiation of the VariableDS class. Fixes Unidata#1477
lesserwhirls
added this to the
5.9.1 milestone
lesserwhirls
marked this pull request as ready for review
lesserwhirls
deleted the
gh-1477
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment