Skip to content

FIX-292: Windows - Normalise directory resource names - #216

Open
peter-lawrey wants to merge 1 commit into
developfrom
bugfix/fix-292-windows-boot-classpath-resources
Open

peter-lawrey wants to merge 1 commit into
developfrom
bugfix/fix-292-windows-boot-classpath-resources

Conversation

@peter-lawrey

Copy link
Copy Markdown
Member

Directory-backed boot resources use backslashes on Windows, so they do not match the slash-separated names returned for the same class in a JAR. Normalise the directory resource separator.

The regression compares directory and JAR discovery, checks JAR handle closure, and verifies that the shared JRT filesystem remains available. The name comparison fails before the fix on Windows and passes on both platforms afterwards.

Validation (JDK 21; Maven clean verify, Surefire retries disabled):

  • windows: PASS (69 tests, 0 failures, 0 errors, 33 skipped)
  • wsl: PASS (80 tests, 0 failures, 0 errors, 2 skipped)

Validation runs the affinity module (-f affinity/pom.xml). WSL required build-essential and JAVA_HOME pointing to its JDK; both are now configured on this machine.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant