forked from spring-projects/spring-framework
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore classpath scanning support for Windows filesystem
The recent switch to java.nio.file.FileSystem-based classpath scanning (see spring-projectsgh-29163) resulted in a regression when scanning the classpath in the Windows filesystem. This commit addresses this regression by introducing several workarounds for dealing with `file:` resources on Windows. See the in-line comments in this commit for details on those workarounds. This fix has been tested in the following environments. - macOS 12.6 / Java 17 Oracle (build 17.0.4.1+1-LTS-2) - macOS 12.6 / GraalVM CE 22.2.0 (build 17.0.4+8-jvmci-22.2-b06) - MS Windows 11 / Java 17 Microsoft (build 17.0.4.1+1-LTS) Closes spring-projectsgh-29226
- Loading branch information
Showing
1 changed file
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters