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

refactor(core): improve safety of service loader usage #369

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

iProdigy
Copy link
Member

@iProdigy iProdigy commented Jan 2, 2025

Follow-up to #367

  • Improve servlet compatibility by specifying the class loader
  • Add SecurityManager support
  • Ensure consistent registration order (alphabetic) when multiple providers have the same discovery priority
  • Catch ServiceConfigurationError to prevent a misconfigured cache provider from breaking all of xanthic

@iProdigy iProdigy requested a review from PhilippHeuer January 2, 2025 07:28
@iProdigy iProdigy merged commit ba38525 into main Jan 21, 2025
4 checks passed
@iProdigy iProdigy deleted the refactor/service-loader-safety branch January 21, 2025 22:48
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