Skip to content

Use alternative to ServiceLoader to load Plugin and PropertyRequiresPlugin #338

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

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

rob-bygrave
Copy link
Contributor

Due to module-path working differently to classpath wrt optional services we need to make this change. Otherwise avaje-inject becomes a hard dependency required by avaje-config, avaje-jsonb, any Plugin in fact.

We desire avaje-inject to stay an optional dependency so that currently means that we can not use ServiceLoader with module-path due to https://bugs.openjdk.org/browse/JDK-8299504

…lugin

Due to module-path working differently to classpath wrt optional services we need to make this change. Otherwise avaje-inject becomes a hard dependency required by avaje-config, avaje-jsonb, any Plugin in fact.

We desire avaje-inject to stay an optional dependency so that currently means that we can not use ServiceLoader with module-path due to https://bugs.openjdk.org/browse/JDK-8299504
@rbygrave rbygrave self-assigned this Apr 18, 2023
@rbygrave rbygrave added this to the 9.1 milestone Apr 18, 2023
@rbygrave rbygrave merged commit 9fb7218 into master Apr 18, 2023
@rbygrave rbygrave deleted the feature/alternate-serviceLoading branch April 18, 2023 08:45
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