Skip to content

PathMatchingResourcePatternResolver should not re-resolve root URLs [SPR-14202] #18776

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14202 and commented

PathMatchingResourcePatternResolver calls Resource.getURL() on root resources several times. For ClassPathResource, this leads to re-resolution of ClassLoader.getResource which can be expensive. Initially resolving each root resource into a UrlResource, like we do for Equinox bundles already, should help here.


Referenced from: commits 65a8f5e

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions