Skip to content
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

Refine CachedIntrospectionResults property introspection #28445

Closed
jhoeller opened this issue May 11, 2022 · 1 comment
Closed

Refine CachedIntrospectionResults property introspection #28445

jhoeller opened this issue May 11, 2022 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Milestone

Comments

@jhoeller
Copy link
Contributor

No description provided.

@jhoeller jhoeller added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels May 11, 2022
@jhoeller jhoeller added this to the 5.3.20 milestone May 11, 2022
@jhoeller jhoeller self-assigned this May 11, 2022
@jhoeller jhoeller added the status: backported An issue that has been backported to maintenance branches label May 11, 2022
kkolman pushed a commit to Datameer-Inc/spring-framework that referenced this issue Nov 2, 2022
@tcrass
Copy link

tcrass commented Feb 10, 2023

Hi,

we used to access a read-only property the type of which happened to implement AutoCloseable like this...

    BeanWrapper sourceBeanWrapper = PropertyAccessorFactory.forBeanPropertyAccess(source);
    TypeDescriptor sourceTypeDescriptor = sourceBeanWrapper.getPropertyTypeDescriptor(sourcePropertyName);

...but after switching to a newer Spring version we realized that this is apparently no longer possible due the isInvalidReadOnlyPropertyType() method introduced in 83186b6 -- sourceTypeDescriptor turns out to be null.

Any work-arounds...?

Cheers, Torsten

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: backported An issue that has been backported to maintenance branches type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants