Skip to content

Make Module Validation take effect only when the SPI is in the module #34

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Oct 20, 2024

Conversation

SentryMan
Copy link
Collaborator

It should go without saying that you can't add a provides clause if the class isn't part of the module.

This can happen when you write a META-INF/services file that contains an entry for a class not in the module.

@SentryMan SentryMan changed the title Module Validation takes effect only when the SPI is in the module Make Module Validation take effect only when the SPI is in the module Oct 20, 2024
@SentryMan
Copy link
Collaborator Author

@rbygrave please review and deploy when you get time

@rbygrave rbygrave merged commit aae67cf into main Oct 20, 2024
11 checks passed
@rbygrave rbygrave deleted the intra-module-validation branch October 20, 2024 18:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants