Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@manovotn
Copy link
Contributor

Fixes #454

This doesn't change functionality, just removes a bit of text potentially causing confusion.
While it is true that contexts aren't activated before this event, there is nothing preventing impls from activating them within this event. In fact, BM#getReference explicitly allows to resolve all beans at this point which means you have to be able to activate contexts anyway.

@manovotn manovotn added this to the CDI 4.1 milestone Nov 28, 2023
@manovotn manovotn requested review from Ladicek and ljnelson November 28, 2023 13:07
@manovotn manovotn merged commit 38265cb into jakartaee:main Nov 29, 2023
@manovotn manovotn deleted the issue454 branch November 29, 2023 10:50
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.

How can getReference() legally be invoked during AfterDeploymentValidation event if contexts have not been created yet?

2 participants