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

[WFLY-9821] Fix WeldProvider #10896

Merged
merged 1 commit into from Feb 19, 2018
Merged

[WFLY-9821] Fix WeldProvider #10896

merged 1 commit into from Feb 19, 2018

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Feb 16, 2018

- prevent from incorrect initialization of SingletonProvider
@mkouba
Copy link
Contributor Author

mkouba commented Feb 16, 2018

A test is not included - the problem only occurs under special conditions.

@@ -58,6 +59,9 @@ static void containerShutDown(Container container) {

@Override
public CDI<Object> getCDI() {
if (ModuleGroupSingletonProvider.deploymentClassLoaders.isEmpty()) {
throw new IllegalStateException();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be caught and dealt with up the call stack? My main concern is just reporting to the user what the issue actually is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamezp jamezp added EE8 ready-for-merge Only for use by those with merge permissions! and removed EE8 labels Feb 19, 2018
@jamezp jamezp merged commit b87c49b into wildfly:master Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Only for use by those with merge permissions!
Projects
None yet
2 participants