Fix Windows Spring Boot Process Application Resource Scanning in 3.0.0 - #290
Open
ryans58 wants to merge 1 commit into
Open
Fix Windows Spring Boot Process Application Resource Scanning in 3.0.0#290ryans58 wants to merge 1 commit into
ryans58 wants to merge 1 commit into
Conversation
daniel-marian-buga-a-db
approved these changes
Aug 26, 2026
27 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes Windows Spring Boot process application resource scanning when using
@EnableProcessApplicationwith an emptyMETA-INF/processes.xml.Beginning with Fluxnova
2.0.3,ClassPathProcessApplicationScannercan receive a Windows drive-letter path fromURL.getPath()in the form:Passing that value directly to Paths.get(String) causes Windows to reject the drive-letter colon with:
Change
The scanner now normalizes this specific Windows path representation before passing it to
Paths.get(...):/C:/dev/... -> C:/dev/...The change is intentionally narrow and preserves the existing resource-scanning and path-normalization behavior for other platforms and resource types.
A focused unit test has also been added to cover Windows drive-letter path normalization without requiring the test suite itself to run on Windows.
Validation
The fix has been validated against the full Fluxnova test suite using:
mvn clean installThe patched scanner has also been successfully tested with a Spring Boot process application on Linux.
Windows validation has been performed against the affected Fluxnova releases using a Spring Boot process application with:
@EnableProcessApplicationMETA-INF/processes.xmlThe same process application works correctly without the patch on Fluxnova
2.0.0,2.0.1and2.0.2.Fixes #286 in version
3.0.0. A separate PR addresses the issue for the2.0.xrelease train.