Prior to this commit, resource handling would not serve empty files and return instead HTTP 404 responses. This would only happen for files contained by JARs, but not on the filesystem. This can be tracked to changes done in `AbstractFileResolvingResource` where we avoid serving empty files for directories, see gh-21372. This commit improves the `checkReadable` method to align this behavior between file system and JAR files. Closes gh-28850 |
||
|---|---|---|
| .. | ||
| jmh/java/org/springframework | ||
| main | ||
| test | ||
| testFixtures/java/org/springframework/core/testfixture | ||