Resolves #29550 I just added a condition that checks if the argument is converted to null after being resolved a first time. If it does and it has a default value, the default value is resolved.
Comment From: quaff
You should add a test case.
Comment From: Nheyll
You should add a test case.
Just pushed my test case thanks for the advice
Comment From: izeye
https://github.com/spring-projects/spring-framework/issues/29550 that this PR seems to try to resolve has been resolved in b98c1ec36a2a00ff9cc3a7fa5c9fd0e776a97225 already.
Comment From: rstoyanchev
Indeed, #29950 has been addressed already in M1 and this is a duplicate.