mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
a380ca2750
Prior to this commit, if two ClassPathResource instances were constructed differently (one from an absolute path and one from a path relative to a Class) but had the same absolute path and the same ClassLoader, they were effectively equal, but ClassPathResource#equals returned false. This commit addresses this by revising the logic in ClassPathResource#equals accordingly. Closes gh-29263