Avoid argument resolution overhead for no-arg factory methods [SPR-17171] #21707
Comments
Juergen Hoeller commented I've also aligned constructor argument resolution the same way, even if this just applies in specific scenarios since we usually bypass it upfront. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Juergen Hoeller opened SPR-17171 and commented
ConstructorResolver
's argument resolution aroundcreateArgumentArray
is effectively bypassed for no-arg constructors but not for no-arg factory methods. Let's streamline this towards a straight invocation of the factory method itself in such a scenario.Affects: 5.1 RC1
Referenced from: commits 347852e
The text was updated successfully, but these errors were encountered: