Skip to content

Migrate ReflectivePropertyAccessor to use Property's four param constructor to avoid unneeded resolveName() call - #37129

Closed
lbkulinski wants to merge 1 commit into
spring-projects:mainfrom
lbkulinski:reflective-property-accessor-ctor-migration
Closed

Migrate ReflectivePropertyAccessor to use Property's four param constructor to avoid unneeded resolveName() call#37129
lbkulinski wants to merge 1 commit into
spring-projects:mainfrom
lbkulinski:reflective-property-accessor-ctor-migration

Conversation

@lbkulinski

@lbkulinski lbkulinski commented Aug 12, 2026

Copy link
Copy Markdown

This PR implements the constructor migration mentioned in #37123. Since we already know the name of the property in ReflectivePropertyAccessor, Property's four argument constructor is used to avoid the resolveName() call.

…ructor to avoid unneeded resolveName() call

Signed-off-by: Logan Kulinski <lbkulinski@gmail.com>
@lbkulinski
lbkulinski force-pushed the reflective-property-accessor-ctor-migration branch from d3ff644 to a7a5d5b Compare August 12, 2026 01:13
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 12, 2026
@sbrannen sbrannen added status: declined A suggestion or change that we don't feel we should currently apply in: core Issues in core modules (aop, beans, core, context, expression) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 12, 2026
@sbrannen

Copy link
Copy Markdown
Member

Closing for the reasons given in #37123 (comment).

For future reference, PRs like this must include tests that fail before the changes and pass after the changes.

@sbrannen sbrannen closed this Aug 12, 2026
@lbkulinski

Copy link
Copy Markdown
Author

Noted! Thanks!

@lbkulinski
lbkulinski deleted the reflective-property-accessor-ctor-migration branch August 12, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: core Issues in core modules (aop, beans, core, context, expression) status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants