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

Fix ContainerCDIProvider not throwing right exception when CDI contai… #54

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

xstefank
Copy link
Member

…ner isn't available

Short description of what this resolves:

CDIProvider should throw IllegalStateException if no CDI container is available -
https://javaee.github.io/javaee-spec/javadocs/javax/enterprise/inject/spi/CDIProvider.html#getCDI--

Changes proposed in this pull request:

  • ContainerCDIProvider throws IllegalStateException instead of IndexOutOfBoundsException when CDI context cannot be found

@tremes
Copy link
Contributor

tremes commented Feb 14, 2019

@manovotn Any chance to review this? It looks reasonable to me.

@manovotn manovotn merged commit 1ae70a1 into arquillian:master Feb 15, 2019
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.

3 participants