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

Avoid instantiating deactivated TestExecutionListeners #1

Conversation

marcphilipp
Copy link

see individual commits

When used on the module path, `ServiceLoader` determines its calling
module from the stack and check whether its module descriptor contains a
`uses` directive for the service type. If not, it will throw an
exception. Therefore, `ServiceLoader.load` needs to be called directly
in the module using the service but the filtering can still occur in
junit-platform-commons.
@YongGoose YongGoose merged commit a599008 into YongGoose:feature/enable-specific-global-extensions-in-junit Nov 19, 2024
@marcphilipp marcphilipp deleted the marc/avoid-deactivated-test-execution-listener-instantiation branch November 19, 2024 13:41
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