-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
For a prototype bean, if first-time rejected value is null, subsequent value will wrongly be null always #30794
Comments
An initial note: The With that sorted out, the actual For the time being, you could consider using |
Updated the test code. And I do agree that Optional or ObjectProvider is better, my trouble is that this issue cames from some legacy injection code which a lot of codes depend on it and need to update to Optional<>. |
Addressed through revised caching now, being able to deal with a switch from null to non-null and also the other way round. |
Affects: 5.3.28
Below is a test that is able to reproduce the issue.
The text was updated successfully, but these errors were encountered: