Skip to content

useCaches option in PathMatchingResourcePatternResolver not applied in special case #35464

@reckart

Description

@reckart

This is a follow-up to #35218

It seems the PR fixing the issue above missed a special case:

https://github.com/spring-projects/spring-framework/blob/main/spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java#L393-L396

It looks like here a resource is obtained from the resourceLoader, but the useCaches option is not set on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions