Skip to content

Conversation

jiaohanying
Copy link

Fix Path.of() InvalidPathException on Windows in MavenSystemIndicesManager

  • Add try-catch block around Path.of() call to handle InvalidPathException
  • Path.of() throws InvalidPathException on Windows for URLs containing ':' character
  • Maintain existing logic by continuing with URI parsing when Path.of() fails
  • Fixes Windows-specific crash when processing Maven repository URLs

Fixes: InvalidPathException when checking Maven repository URLs on Windows

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.

2 participants