Skip to content

Conversation

@Artur-
Copy link
Contributor

@Artur- Artur- commented Oct 31, 2025

When JAR manifest Class-Path entries contain absolute paths (as Gradle creates on Windows for long classpaths), PathMatchingResourcePatternResolver incorrectly rejected them.

Fixes #35730

@Artur- Artur- force-pushed the manifest-absolute-paths branch from a2ce970 to 6e775c5 Compare October 31, 2025 09:35
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 31, 2025
@jhoeller jhoeller self-assigned this Oct 31, 2025
@jhoeller jhoeller added type: bug A general bug 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 Oct 31, 2025
@jhoeller jhoeller added this to the 6.2.13 milestone Oct 31, 2025
@jhoeller
Copy link
Contributor

@Artur- this looks good for inclusion in the 6.2.13 release on Nov 13. Could you please rebase your PR onto 6.2.x for it?

… in JAR manifests

When JAR manifest Class-Path entries contain absolute paths (as Gradle
creates on Windows for long classpaths), PathMatchingResourcePatternResolver
incorrectly rejected them.

Fixes spring-projects#35730

Signed-off-by: Artur Signell <artur@vaadin.com>
@Artur- Artur- force-pushed the manifest-absolute-paths branch from 6e775c5 to 089c627 Compare October 31, 2025 12:28
@Artur- Artur- changed the base branch from main to 6.2.x October 31, 2025 12:29
@Artur-
Copy link
Contributor Author

Artur- commented Oct 31, 2025

Rebased

@jhoeller jhoeller merged commit 97586b5 into spring-projects:6.2.x Nov 1, 2025
2 checks passed
@jhoeller jhoeller changed the title fix: Fix PathMatchingResourcePatternResolver to handle absolute paths in JAR manifests Fix PathMatchingResourcePatternResolver to handle absolute paths in JAR manifests Nov 1, 2025
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) type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PathMatchingResourcePatternResolver fails with absolute paths in JAR manifest Class-Path entries

3 participants